Access “wp site health info” data from plugin
Access “wp site health info” data from plugin
Access “wp site health info” data from plugin
So what this is saying is that the file is not where the system is expecting it to be. If you have FTP access you could go in and replace the wp-includes folder with the one from a fresh download of WordPress.
File is executed twice if plugin is activating
var_dump() and print_r() display null in php
Correct my shortcode for displaying a category?
I think I have to pass parameter of shortcode, but how I do Yes, that’s correct, and you already are passing the parameter to your shortcode when you do [arts-list type=10] — although you should enclose the parameter value in quotes, i.e. type=”10″. But the $atts in your shortcode function is not defined before the … Read more
I cant see where in the code you want to have a taxonomy drop-down, and also what you want to do with this drop down. That also depends what values you want to use as option values. But generally you can use wp_dropdown_categories to create a custom taxonomy drop-down. wp_dropdown_categories( array( ‘show_option_all’ => ‘Show all … Read more
You could try the following wp-config.php setup – note WP writes to the file wp-content/debug.log – this config also stops any errors from being rendered to the browser. Note that setting the constant WP_DISABLE_FATAL_ERROR_HANDLER to true enables you to disabled the default WP error screen. // Disable display of errors and warnings @ini_set(‘display_errors’,0); define( ‘WP_DEBUG_LOG’, … Read more
You are not seeing a stack trace because this information is being logged via the error_log() function within the wpdb::print_error() method. error_log() simply sends a message to the logs. The behaviour you’re expecting with a full stack trace would require trigger_error() to be used.
I found the problem: there was a problem with the cache caused by the use of 3 plug-in at the same time Autoptimize LiteSpeed Cache W3 Total Cache I have kept W3 Total Cache and disabled the first 2 and it’s all good now