Fatal error after update 7.2 to 7.3

Posted in: Newspaper
Post count: 5

Hi

After the update I get this fatal error

Fatal error: Access to undeclared static property: td_global::$feature_locked in /www/XXXXXX.com/htdocs/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 217

In order to put the site online I just commented few lines in that php, It works but I don’t know what could happen now on.

Please let me know,
Regards
Walter

Post count: 5

Also, when I commented that, a new problem appears in the Theme panel.

I only can see the Header tab until:
JAVASCRIPT DATE
Enable this if you use a cache plugin, it
displays the local data.

After that this error is displayed:
Fatal error: Access to undeclared static property: td_global::$feature_locked in /www/XXXXXX.com/htdocs/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/panel/views/td_panel_header.php on line 239

Also, the issue with the mobile theme that everyone is talking about.

Thanks

  • This reply was modified 10 years by Walter.
Post count: 22421

Hello,

Please do not comment any lines of code and update your version of visual composer. i created a sticky post on the forum to anounce that thversion 7.3 is not compatible with older versions of VC. That means you ned to install version 4.12 from the latest theme package you download from envato. Please use this guide: https://forum.tagdiv.com/how-to-update-visual-composer-plugin/
Sorry for the inconvenience. The fix for the mobile theme is on it;s way. It will be uploaded to the theme update today.

Thank you!

Post count: 5

First of all, thank you for your time.

Now… I had done the VC update to 4.12. Everything was ok.
I did the theme update using the FTP way. I got that error: “Fatal error: Access to undeclared static property: td_global::$feature_locked in /www/XXXXXX.com/htdocs/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/panel/views/td_panel_header.php on line 239”

If I commented theses lines I may continue working, but the Theme panel is broken.

td_panel_header.php
/*if (!td_global::$feature_locked) {
add_action(‘widgets_init’, create_function(”, ‘return register_widget(“td_block_weather_widget”);’));
}

class td_block_exchange_widget extends td_block_widget {
var $td_block_id = ‘td_block_exchange’; // change only the block id, the rest is autogenerated
}
if (!td_global::$feature_locked) {
add_action(‘widgets_init’, create_function(”, ‘return register_widget(“td_block_exchange_widget”);’));
}
class td_block_instagram_widget extends td_block_widget {
var $td_block_id = ‘td_block_instagram’; // change only the block id, the rest is autogenerated
}
if (!td_global::$feature_locked) {
add_action(‘widgets_init’, create_function(”, ‘return register_widget(“td_block_instagram_widget”);’));
}*/

Also, I made (after your reply) a clean update in development stage, with the same result.

Post count: 5

Hello Bogdan,
I just made a super clean upgrade, installing WP, Theme and importing the data again and I get no error.
I lost few days of work, but it’s working.

Thanks, so I only keep waiting for the mobile thing.
Regards

Post count: 22421

Hello,
Glad you solved it. Have a nice day!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.