Class-shortcode-finder.php Error

Hi,

I am using Query Monitor plugin to find out what slow down my site and it is giving 31 php errors at the very top. The problem is similar to that in this thread, but this time Cost Estimation and Ubermenu plugins are involved:

With the theme update, it looks the codeblock @rad recommended is added to the original code, however I still get a php error.

I do not know if these errors are slowing down the site, but can we get rid of them?

Thanks.

Hi @gunesinan,

Thanks for reaching out.

Seems that the query monitor is showing only one PHP notice and that can be ignored by setting the WP_DEBUG value to false in your wp-config.php file.

If you are still find any PHP error instead of the notice, please provide a screenshot marked with the exact issue to diagnose the problem.
Please remember that we don’t offer any support to custom codes, third party plugins or issues related to that.

Thanks

Thanks for the quick response. On my end, it is showing 31 notices still, 1 from Cost estimation form, 30 from ubermenu.

If they are not creating speed issue, I am not gonna worry about it.

Hi @gunesinan,

They do not affect load time in any way.

However:

  1. Notices are there to warn you of potentially bad coding practices and/or possible errors. You should write your code to avoid causing them.

  2. On a production web site, you should disable error message output – not because of any performance issues, but simply because having errors display on your site doesn’t look very professional.
    You can disable the error messages by adding the following code into your wp-config.php file.

     // Enable WP_DEBUG mode
     define( 'WP_DEBUG', false );
     // Disable display of errors and warnings 
     define( 'WP_DEBUG_DISPLAY', false );
     //SET PHP INI DISPLAY ERROR FALSE
     @ini_set( 'display_errors', 0 );
    

Please find the video will help you to edit wp-config.php and add the above code: https://www.youtube.com/watch?v=3SDPTafEM8o

Thanks

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