Update Problem 7.4 >> 7.5

Posted in: Newspaper
Post count: 68

Fatal error: Access to undeclared static property: td_global::$td_options in /home/bcankara/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_wp_booster_functions.php on line 15

How can I fix this error

Post count: 22421

Hello,
Please disable all plugins except visual composer, clear cache and rest cdn files. Also make sure you switch to the main theme to make sure any code in the child theme does not break the theme. (a child theme is never update proof. It needs updating too)
Thanks.

Post count: 1

I have similar problem but I have access only by ftp. Link below is seen on every page.
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: tdx_options is not set.
/home/newcrew/ftp/agri24-pl/wp-content/themes/Newspaper/includes/wp_booster/td_api.php

wp booster error:
Missing parameter: ‘file’
/home/newcrew/ftp/agri24-pl/wp-content/themes/Newspaper/includes/wp_booster/td_autoload_classes.php

What can I do?

Post count: 5

@Mecburlar,
I had the same error.

Did you also just uploaded the files from patch_7.4_7.5?

It seems that the file /includes/wp_booster/td_wp_booster_functions.php changed, but is missing in the path folder. I manually replaced this file in addition and got rid of the error.

Post count: 19

Same here! My site is not loading! PHP Fatal error: Access to undeclared static property: td_global::$td_options in /home/xxx/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_wp_booster_functions.php on line 15

You need to fix this ASAP!

Post count: 1

Same error with me as well. Got the notification “directory already exist, install unsuccessful”

Post count: 108

I want to inform that I could not reproduce the update error. I had no difficulties updating automatically.

Post count: 181

I’m experiencing the same issue. :/

Post count: 17

Hi guys, I resolved the issue by unzipping the Newspaper.zip (inside the downloaded zip) and simply re-uploading the whole theme.

Hope that helps someone else!

Post count: 102

Same here but upload the whole theme and disable all plugins etc. not works.

Post count: 322

In the full theme source (not the patch folder), go to includes/wp_booster/ and upload td_options.php to the same location on your server. The 7.4 => 7.5 patch does not include this new file (new to 7.5), but it very much required, and essential to the theme. That fixed it for me.

Post count: 322

Okay, scratch that. That is one problem, but may be another still. Uploaded the full theme source on a second site running Newspaper because the one file didn’t fix it alone.

Sorry… wanted to edit or delete my last reply, but already timed out.

Post count: 60

For me upgrade worked very smoothly. Here are the steps that i followed.

1) I copied the newspaper zip theme via ftp to the my themes folder.
2) Activated another theme.
3) Deleted old newspaper theme from FTP console (filezilla).
4) Extracted the new theme zip file.
5) Activated the new theme from Themes panel.
6) Deactivated Visual composer > deleted > uploaded new VC plugin and activated it back.

Post count: 22421

Hello,
I have tested the patch and it works as expected. Please make sure you re-write the files in the destination folder properly and copy over all the files from the patch. We tested both replacing all the theme files (whioch worked anyway but just to be sure) and only uploading the patch files. Both methods updated the theme properly and no errors were found. Please make sure you also update your child themes. switch to the main theme so you are sure no custom code affects the update.
Here is a winmerge test that you can do yourselves to see that the patch contains all files: http://screencast.com/t/snrEmhDVOBz1
Please make sure you do not have any customization that will break the theme when updating.
Also test for any plugins that might not work anymore in 7.5 as this is a possibility as well.
Thank you!

Post count: 22421

PS. One more thing. Please check your server if you have ClamAV antivirus.
Here is a topic that shows this anti-virus removing theme files from your server as it detects them as a threat:
https://forum.tagdiv.com/topic/blankpage-and-no-panel/
(There is no virus in our theme and no threats. It is a false positive)
I hope this helps.
Thank you!

Post count: 22421

Hi,
Ok, it seems I have tested on a bad archive. It got modified by mistake it seems. You are right and there was no td_options in 7.4. We will investigate what is going on and come back with a precise answer as soon as possible. Until such time, please update the theme using all the files and do not use the patch for the moment.
Thank you and sorry for the inconvenience.

Post count: 85

I have deleted the entire theme and installed from the zip, replaced the api plugin, but I am still getting an error:

Fatal error: Class ‘td_wp_booster_config’ not found in /home/*****/public_html/*****/wp-content/plugins/td-api-plugin/td-api-plugin.php on line 61

Post count: 161

Same where! I fix by clean theme, but today the error came back. I’m returning the theme for the previous version.

Post count: 22421

Hello,

The api plugin will need to be updated as well. It will not work in 7.5. We will release the new version of the api plugin as soon as possible.

Sorry for the inconvenience.

Post count: 22421

API plugin quickfix:

If you get this error on the api plugin: http://screencast.com/t/nayK9C1q0k54 then you can simpply replace this code: http://screencast.com/t/fMgrGqvPEbkf with this one:
$td_column_number = td_global::vc_get_column_number(); // get the column width of the block from the page builder API

Thank you!

Post count: 22421

Hello,

Please download the correct version of the patch from here:
http://cdn.tagdiv.com/wp-content/uploads/2016/11/patch_7.4_7.5.zip
Do not use the patch you downloaded from envato as there are missing files from it.

Thank you!

Post count: 268

Hi Bogdan

changed files are those indicated in the file
changed_files_7.4_7.5.html
downloaded from envato?

Thanks

Post count: 22421

Hello,
This is the list of modified files as well as the new files added: http://tagdiv.com/td_deploy/Newspaper/changed_files_7.4_7.5.html
The same files are found in the patch from the link above.
Thank you!

Post count: 161

I update, but now see this erros in erro_log

[04-Nov-2016 10:06:12 UTC] PHP Fatal error: Access to undeclared static property: td_global::$td_options in /home/mysite/public_html/wp-content/themes/mysite/includes/wp_booster/td_wp_booster_functions.php on line 15
[04-Nov-2016 10:06:12 UTC] PHP Fatal error: Access to undeclared static property: td_global::$td_options in /home/mysite/public_html/wp-content/themes/mysite/includes/wp_booster/td_wp_booster_functions.php on line 15
[04-Nov-2016 10:06:12 UTC] PHP Fatal error: Access to undeclared static property: td_global::$td_options in /home/mysite/public_html/wp-content/themes/mysite/includes/wp_booster/td_wp_booster_functions.php on line 15
[04-Nov-2016 10:06:15 UTC] PHP Fatal error: Call to undefined method td_util::vc_set_column_number() in /home/mysite/public_html/wp-content/themes/mysite/parts/footer/td_footer_template_6.php on line 18
[04-Nov-2016 10:06:16 UTC] PHP Fatal error: Call to undefined method td_util::vc_set_column_number() in /home/mysite/public_html/wp-content/themes/mysite/parts/footer/td_footer_template_6.php on line 18
[04-Nov-2016 10:06:16 UTC] PHP Fatal error: Call to undefined method td_util::vc_set_column_number() in /home/mysite/public_html/wp-content/themes/mysite/parts/footer/td_footer_template_6.php on line 18
[04-Nov-2016 10:06:18 UTC] PHP Fatal error: Call to undefined method td_util::vc_set_column_number() in /home/mysite/public_html/wp-content/themes/mysite/parts/footer/td_footer_template_6.php on line 18
[04-Nov-2016 10:06:18 UTC] PHP Fatal error: Call to undefined method td_util::vc_set_column_number() in /home/mysite/public_html/wp-content/themes/mysite/parts/footer/td_footer_template_6.php on line 18
[04-Nov-2016 10:06:19 UTC] PHP Fatal error: Call to undefined method td_util::vc_set_column_number() in /home/mysite/public_html/wp-content/themes/mysite/parts/footer/td_footer_template_6.php on line 18
[04-Nov-2016 10:06:21 UTC] PHP Fatal error: Call to undefined method td_util::vc_set_column_number() in /home/mysite/public_html/wp-content/themes/mysite/parts/footer/td_footer_template_6.php on line 18
[04-Nov-2016 10:06:24 UTC] PHP Fatal error: Call to undefined method td_util::vc_set_column_number() in /home/mysite/public_html/wp-content/themes/mysite/parts/footer/td_footer_template_6.php on line 18
[04-Nov-2016 10:06:25 UTC] PHP Fatal error: Call to undefined method td_util::vc_set_column_number() in /home/mysite/public_html/wp-content/themes/mysite/parts/footer/td_footer_template_6.php on line 18
[04-Nov-2016 10:06:26 UTC] PHP Fatal error: Call to undefined method td_util::vc_set_column_number() in /home/mysite/public_html/wp-content/themes/mysite/parts/footer/td_footer_template_6.php on line 18

Post count: 22421

Hi,
It seems you did not replace all the files. Please use this guide and update your theme using the ftp method:
https://forum.tagdiv.com/how-to-update-the-theme-2/
Please also check your child theme as that need updating too if you use it
Thank you!

Viewing 25 posts - 1 through 25 (of 25 total)
You must be logged in to reply to this topic.