Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Tower: Site inaccessible after update

childcodeles framework plugindownTower
    • 5 years, 7 months ago FiveArts
      Participant

      Hi, our site was down today, and apparently it was due to the codeless framework plugin. However, after updating the theme to the latest version, we have not been able to get the site up and running.

      Both the Child Theme and Theme show different errors when activated.

      Child errors:

      Deprecated: Function create_function() is deprecated in /www/wp-content/themes/tower-child/functions.php on line 10 Notice: Trying to get property ‘name’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 294 Notice: Trying to get property ‘term_id’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 294 Notice: Trying to get property ‘name’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 294 Notice: Trying to get property ‘term_id’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 294 Notice: Trying to get property ‘name’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 302 Notice: Trying to get property ‘term_id’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 302 Notice: Trying to get property ‘name’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 302 Notice: Trying to get property ‘term_id’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 302

      Theme errors:
      Notice: Trying to get property ‘name’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 294 Notice: Trying to get property ‘term_id’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 294 Notice: Trying to get property ‘name’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 294 Notice: Trying to get property ‘term_id’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 294 Notice: Trying to get property ‘name’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 302 Notice: Trying to get property ‘term_id’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 302 Notice: Trying to get property ‘name’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 302 Notice: Trying to get property ‘term_id’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 302

      • This topic was modified 5 years, 7 months ago by FiveArts.
    • 5 years, 7 months ago FiveArts
      Participant

      If I try to remove the deprecated code in /www/wp-content/themes/tower-child/functions.php on line 10 . I get the following errors:

      Your PHP code changes were rolled back due to an error on line 5 of file /www/wp-content/themes/tower-child/includes/view/page_header.php. Please fix and try saving again.

      Uncaught Error: Class 'Redux' not found in /www/wp-content/themes/tower-child/includes/view/page_header.php:5
      Stack trace:
      #0 wp-includes/template.php(724): require()
      #1 wp-includes/template.php(671): load_template('/www/wp-content...', false)
      #2 wp-includes/general-template.php(168): locate_template(Array, true, false)
      #3 /www/wp-content/themes/tower/page.php(27): get_template_part('includes/view/p...')
      #4 wp-includes/template-loader.php(78): include('/www/wp-content...')
      #5 wp-blog-header.php(19): require_once('wp-i...')
      #6 /www/index.php(17): require('wp-b...')
      #7 {main}
      thrown
    • 5 years, 7 months ago FiveArts
      Participant

      I have tried deleting the theme and reinstalling it via FTP. The following errors are still prevalent:

      Notice: Trying to get property ‘name’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 294 Notice: Trying to get property ‘term_id’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 294 Notice: Trying to get property ‘name’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 294 Notice: Trying to get property ‘term_id’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 294 Notice: Trying to get property ‘name’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 302 Notice: Trying to get property ‘term_id’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 302 Notice: Trying to get property ‘name’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 302 Notice: Trying to get property ‘term_id’ of non-object in /www/wp-content/themes/tower/includes/core/codeless_elements.php on line 302

      Plus all the customisation – logos, template settings, are still gone

      • This reply was modified 5 years, 7 months ago by FiveArts.
      • This reply was modified 5 years, 7 months ago by FiveArts.
    • 5 years, 7 months ago FiveArts
      Participant

      I have since tried installing the latest theme update, which was released in (around) the last 24-hours, by first deleting the theme folder via FTP, as well as the Envato Market, Layer Sliver, WP Bakery Page Builder and Revolution Slider folders and then copying the relevant folders from the 27 November update in.

      Error we get:
      Warning: require_once(/wordpress/wp-content/plugins/codeless-framework/admin/core/shortcodes/shortcodes.php): failed to open stream: No such file or directory in /www/wp-content/plugins/codeless-framework/admin/register-shortcodes.php on line 3 Fatal error: require_once(): Failed opening required ‘/wordpress/wp-content/plugins/codeless-framework/admin/core/shortcodes/shortcodes.php’ (include_path=’.:/usr/share/php’) in /www/wp-content/plugins/codeless-framework/admin/register-shortcodes.php on line 3

      The site is experiencing technical difficulties.

      • This reply was modified 5 years, 7 months ago by FiveArts.
    • 5 years, 7 months ago FiveArts
      Participant

      Fresh install of the Theme, with only the following plugins active: Envato Market, Envato WordPress Tools, Codeless Framework plugin, Revolution Slider, Layer Slider, WP Bakery page Builder.

      Site does not load. The following error is displayed:

      Warning: require_once(/wordpress/wp-content/plugins/codeless-framework/admin/core/shortcodes/shortcodes.php): failed to open stream: No such file or directory in /www/wp-content/plugins/codeless-framework/admin/register-shortcodes.php on line 3 Fatal error: require_once(): Failed opening required ‘/wordpress/wp-content/plugins/codeless-framework/admin/core/shortcodes/shortcodes.php’ (include_path=’.:/usr/share/php’) in /www/wp-content/plugins/codeless-framework/admin/register-shortcodes.php on line 3

      The site is experiencing technical difficulties.

       

       
      ** I will now put the site in maintenance mode by installing WP Maintenance Mode**

      • This reply was modified 5 years, 7 months ago by FiveArts.
      • This reply was modified 5 years, 7 months ago by FiveArts.
    • 5 years, 7 months ago Mirela
      Participant

      Hello,

      Please add some wp and ftp credentials in a private reply. So we can check it closely.

      Best regards!

    • 5 years, 7 months ago FiveArts
      Participant
      This reply has been marked as private.
    • 5 years, 7 months ago Ruco
      Keymaster

      Hello,

      I see that your path is wordpress/wp-content/plugins/codeless-framework/admin/core/shortcodes/shortcodes.php wrong.

      The “wordpress” directory doesn’t exist.

      Have you changed any hosting or any folder name.

      Also, I see that you use a managed WordPress hosting provider. Please contact them and tell them about the directory problem.

      Let us know.

      Regards!

    • 5 years, 7 months ago FiveArts
      Participant

      Hi there Ruco,

      I have been in touch with the hosts, and I shall share their two messages below:

      Message 1:

      Thank you for getting back to us! That’s very helpful information. Sites running on the Flywheel Cloud Platform do store the WordPress core files in separate directories as a part of our management of the WordPress core and its security.

      Taking a look at the PHP line in the file throwing the error, /www/wp-content/plugins/codeless-framework/admin/register-shortcodes.php on line 3 we can see the following code:


      1

      Message 2:
      … the recommended course of action is to contact the theme/plugin developer for a resolution.

      It would be worthwhile reaching out to the theme/plugin developers to see if they have any plans or options available to limit the use of ABSPATH when calling plugin files.

      Once you’ve reached out to them, let us know if there is anything we need to do from the Hosting side to assist.

      *********

       

      What should be the next step, Ruco?

    • 5 years, 7 months ago Ruco
      Keymaster

      Hello,

      I have resolved this issue by replace the ABSPATH into get_template_directory().

      In the next update will fix this issue.

      You can continue to work without any problem now.

      Sorry for any inconvenience.

      Regards!

    • 5 years, 6 months ago FiveArts
      Participant

      Thank you very much for that Ruco.

      We do appreciate it. Can I ask, would you mind making the change to the staging site as well, please?

      Best Wishes,
      FiveArts

       

    • 5 years, 6 months ago Mirela
      Participant

      Hello,

      Please go to your stage site’s and open file wp-content/plugins/codeless-framework/admin/register-shortcodes.php
      Find this line:
      require_once ABSPATH .'wp-content/plugins/codeless-framework/admin/core/shortcodes/shortcodes.php' ;

      Edit to this:
      require_once get_template_directory() . 'wp-content/plugins/codeless-framework/admin/core/shortcodes/shortcodes.php' ;

      Save changes.
      Best regards!

Viewing 11 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password