Cornerston require_once Warning

Hey there

I have no clue what happened with the website. I didn´t touch it and now there is that error. Can you guide me in the right direction of a possible solution?
Does it has something to do with Cornerstone or the salon booking plugin?
Is it possible to just replace the existing theme with another “fresh” pro folder?
I wrote both supports just to get sure.

Best regards
Mike

Warning: require_once(/home/httpd/vhosts/moments-in-style.ch/httpdocs/wp-content/themes/pro/cornerstone/includes/menu-item-custom-fields/menu-item-custom-fields.php): failed to open stream: No such file or directory in /home/httpd/vhosts/moments-in-style.ch/httpdocs/wp-content/themes/pro/cornerstone/includes/utility/plugin-base.php on line 162 Fatal error: require_once(): Failed opening required ‘/home/httpd/vhosts/moments-in-style.ch/httpdocs/wp-content/themes/pro/cornerstone/includes/menu-item-custom-fields/menu-item-custom-fields.php’ (include_path=’/home/httpd/vhosts/moments-in-style.ch/httpdocs/wp-content/plugins/salon-booking-plugin-pro/src/SLN/Third/google-api-php-client/vendor/phpseclib/phpseclib/phpseclib:.:/usr/share/pear:/usr/share/php’) in /home/httpd/vhosts/moments-in-style.ch/httpdocs/wp-content/themes/pro/cornerstone/includes/utility/plugin-base.php on line 162

Hello Mike,

Thanks for writing in!

Please make sure that you have meet the requirements to run the latest WordPress. Please install Health Check plugin and take note of the PHP version, MySQL, etc. You can check out the require server settings here:

Meanwhile, if some of the server configuration is out of date, PHP notices which what you have right now will display. You can get rid of these notices by disabling the debug mode. You can do this by opening wp-config.php and adding


define('WP_DEBUG', false);

/* That's all, stop editing! Happy blogging. */

When you revisit the page, you should no longer be seeing these PHP notices.

Hope this helps. Kindly let us know.

Hey RueNel

Thanks for answering. I re-installed the newest version of the plugin + the newest version of the pro theme via ftp and updated the php version from 7.1 to 7.3.

That didn´t work. WP_DEBUG was false before. Then I deleted the aggressive caching plugin via ftp and all the cached files, then it worked again. No clue why this happened. Thanks for your advice. Now it´s working again. I will write the caching plugin developer to make sure that this won´t happen again. Maybe it was just a bug. (But somehow I don´t think that it was caused by the caching plugin. It´s still technology, so strange things happen :stuck_out_tongue: )

Best regards
Michael

Glad you sorted things out, remember to clear all your caching features (plugin, server-side, CDN, and browser’s cache) after updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

Cheers!

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