Error on X theme, website down!

Please refer to the error below:

Warning : include(/home/wwwtkadx/public_html/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /home/wwwtkadx/public_html/wp-settings.php on line 84

Warning : include(): Failed opening ‘/home/wwwtkadx/public_html/wp-content/advanced-cache.php’ for inclusion (include_path=’.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php’) in /home/wwwtkadx/public_html/wp-settings.php on line 84

Parse error : syntax error, unexpected ‘.’, expecting ‘&’ or variable (T_VARIABLE) in /home/wwwtkadx/public_html/wp-content/themes/x/framework/legacy/functions/updates/class-x-tgmpa-integration.php on line 28

How do I solve the issue?

Hello @suarts,

Thanks for writing to us.

It seems that it is an issue with the WP-Optimize plugin I would suggest you please have a look at this article to learn more about how to fix it.

Please note we don’t provide any third-party plugin support. It is out of the support scope.

Thanks

Thanks for pointing that out. After fixing, there seems to still be issues pointing to the x-theme:

Parse error : syntax error, unexpected ‘.’, expecting ‘&’ or variable (T_VARIABLE) in /home/wwwtkadx/public_html/wp-content/themes/x/framework/legacy/functions/updates/class-x-tgmpa-integration.php on line 287

Thank you for your assistance.

Hey @suarts,

If you’re using PHP 8, please contact your web host to downgrade to PHP 7.4 for now.

If the issue persists using PHP 7.4, please reinstall the theme following the manual update instruction here: https://theme.co/docs/how-to-update#how-to-perform-a-manual-update

If none of that helps, please give us the following info in a Secure Note so we could check what else is causing the issue.

  • WordPress Login URL
  • Admin username and password
  • FTP credentials

You can find the Secure Note button at the bottom of your posts.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.