Skip Navigation

[Resolved] Critical error of search function when updating to PHP 8

This support ticket is created 3 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by hannahO 3 years, 8 months ago.

Assisted by: Shane.

Author
Posts
#2372869
Toolset Blocks Error.jpg

Tell us what you are trying to do? - update to PHP 8

Is there any documentation that you are following? yes
https://toolset.com/2022/05/toolset-1-6-3-full-compatibility-with-php-8/
https://toolset.com/2022/05/toolset-1-6-3-full-compatibility-with-php-8/
https://toolset.com/forums/topic/php-8-update-caused-critical-error-with-views/

Is there a similar example that we can see?
hidden link

What is the link to your site?
hidden link

#2372883

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Hannah,

Thank you for getting in touch.
What we recommend doing here is to enable the wordpress debugging functions to understand the error being thrown.

To enable the wordpress debugging you will either need to log into your website using FTP or using your Host's CPanel's file manager.

From there you will need to edit the wp-config file by adding the following.

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );

// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );

If the define( 'WP_DEBUG', true ); function already exists you will need to change 'false' to 'true'

Once you've done this please revisit the page with the issue and let me know what the issue is.

Thanks,
Shane

#2373243

My issue is resolved now. Thank you!