Error on add_submenu_page() declaration
You have to search for this function. It can be in theme or plugin. Last parameter for this function is an integer which determines where the menu should appear in wp-admin.
You have to search for this function. It can be in theme or plugin. Last parameter for this function is an integer which determines where the menu should appear in wp-admin.
Change your line 3 and 4’s quotes and give a try. * * @link https://codex.wordpress.org/Debugging_in_WordPress */ define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_LOG’, true ); define( ‘WP_DEBUG_DISPLAY’, true ); define( ‘SCRIPT_DEBUG’, true );
A bug happens in the Footer and the code keeps appearing
A couple of educated guesses: Is there a setting in Apache that circumvents your path in WP_DEBUG_LOG? Did you check the Apache error logs for permission issues?
Correct my shortcode for displaying a category?
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
Step debug wp cron run – ideas how to get this working in PHPStorm with Xdebug?
Notice on core function
strange characters in debug file