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?
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.
Notices are there to warn you of potentially bad coding practices and/or possible errors. You should write your code to avoid causing them.
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 );