Tag Info

New answers tagged

0

You can also extend expections and then catch only those that you throw. For example: function do_add_my_pws_exceptions() { class PWS_Exception extends Exception {} class PWS_Init_Exception extends PWS_Exception {} } add_action('plugins_loaded', 'do_add_my_pws_exceptions'); Of course, you should be certain the user is running at least version 5 of ...


0

A brief update. As of WordPress version 3.6, using a global variable like Rarst suggests is very messy and it will clobber any other core, plugin, or theme error messages stored in that variable. The global error variable to which Rarst refers is actually a WP_Error object which is itself responsible for collating errors from various events across ...


0

I had this problem too. Turned off the plugin "WP-SpamShield" by Scott Allen and everything started working again.


-1

I faced this frustrating problem. None of the core functions were working. So I included this: require( '../../../wp-load.php' ); As a better practice: if(!defined(ABSPATH)){ $parse_uri = explode( 'wp-content', $_SERVER['SCRIPT_FILENAME'] ); var_dump($parse_uri); $parse_uri = str_ireplace('index.php', 'wp-load.php', $parse_uri); ...


1

Whoever wrote your theme didn't bother to verify the existence of array keys before using them. The error is happening because the key album_tracks_metabox_nonce doesn't exist in the $_POST array. The line likely should be: if ( !isset($_POST['album_tracks_metabox_nonce']) || !wp_verify_nonce($_POST['album_tracks_metabox_nonce'], ...


1

Look at your .htaccess file in your public_html folder for your WordPress installation. It seems that when with GoDaddy hosted on the windows package, you need the following inheritance set for rewrite in your .htaccess file: RewriteOptions inherit RewriteEngine on That solved my problem on index.php.



Top 50 recent answers are included