iahipinternet
Forum Replies Created
-
Hi Marcin,
It’s very weird I agree.
When I activate the plugin I get a 500 error across the whole installation. With or without debug on.
It’s rather weird that debug is so unhelpful.
Best
Dermod
/** * Filters whether to trigger an error for _doing_it_wrong() calls. * * @since 3.1.0 * * @param bool $trigger Whether to trigger the error for _doing_it_wrong() calls. Default true. */ if ( WP_DEBUG && apply_filters( 'doing_it_wrong_trigger_error', true ) ) { if ( function_exists( '__' ) ) { $version = is_null( $version ) ? '' : sprintf( __( '(This message was added in version %s.)' ), $version ); /* translators: %s: Codex URL */ $message .= ' ' . sprintf( __( 'Please see <a href="%s">Debugging in WordPress</a> for more information.' ), __( 'https://codex.www.ads-software.com/Debugging_in_WordPress' ) ); trigger_error( sprintf( __( '%1$s was called <strong>incorrectly</strong>. %2$s %3$s' ), $function, $message, $version ) ); } else { $version = is_null( $version ) ? '' : sprintf( '(This message was added in version %s.)', $version ); $message .= sprintf( ' Please see <a href="%s">Debugging in WordPress</a> for more information.', 'https://codex.www.ads-software.com/Debugging_in_WordPress' ); trigger_error( sprintf( '%1$s was called <strong>incorrectly</strong>. %2$s %3$s', $function, $message, $version ) ); } } }
Line 3995 is the line beginning trigger_error
Thanks for your attention to this Marcin!
Hi
I disabled those plugins, and debugged, and got this related to jigoshop:
Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php:3995) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-content/plugins/jigoshop/classes/jigoshop_session.class.php on line 22 Notice: The called constructor method for WP_Widget in html_javascript_adder_widget is deprecated since version 4.3.0! Use
__construct()
instead.I activated the Jigoshop Official MailChimp Integration plugin with the above plugins deactivated, and again the entire site crashed. There were two new warnings in the debug screen:
Warning: Cannot modify header information – headers already sent by (output started at /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php:3995) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/pluggable.php on line 1174 Warning: Cannot modify header information – headers already sent by (output started at /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php:3995) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/pluggable.php on line 1174
Any clues? is there another way to find out what causes such a spectacular crash? It’s been a while since I’ve seen that.
Thanks
Dermod
Thanks Marcin,
Here you go:
I activated the plugin and the debug messages are as below. The website crashed completely.
In Chrome, I get:
“The iahip.org page isn’t working
iahip.org is currently unable to handle this request.
HTTP ERROR 500″here are the debug messages:
Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3995 Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3995 Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3995 Notice: Undefined variable: text_domain in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-content/plugins/wp-category-posts-list/wp-category-post-list.php on line 56 Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php:3995) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-content/plugins/wp-custom-admin-bar/custom-admin-bar-functions.php on line 8 Notice: Undefined index: widgets in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-content/plugins/cforms/cforms.php on line 1456 Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3995 Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3995 Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3995 Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3995 Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3995 Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3995 Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3995 Notice: register_sidebar_widget is deprecated since version 2.8.0! Use wp_register_sidebar_widget() instead. in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3706 Notice: register_widget_control is deprecated since version 2.8.0! Use wp_register_widget_control() instead. in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3706 Notice: register_taxonomy was called incorrectly. Taxonomy names must be between 1 and 32 characters in length. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3995 Notice: register_taxonomy was called incorrectly. Taxonomy names must be between 1 and 32 characters in length. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3995 Notice: register_taxonomy was called incorrectly. Taxonomy names must be between 1 and 32 characters in length. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3995 Notice: The called constructor method for WP_Widget in html_javascript_adder_widget is deprecated since version 4.3.0! Use
__construct()
instead. in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3766 Notice: The called constructor method for WP_Widget in WP_Category_Post_List_itg is deprecated since version 4.3.0! Use
__construct()
instead. in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3766 Notice: The called constructor method for WP_Widget in sb_cl_pages_widget is deprecated since version 4.3.0! Use
__construct()
instead. in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3766 Notice: has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php on line 3890 Warning: Cannot modify header information – headers already sent by (output started at /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php:3995) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/pluggable.php on line 1174 Warning: Cannot modify header information – headers already sent by (output started at /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/functions.php:3995) in /usr/local/pem/vhosts/361440/webspace/httpdocs/wp-includes/pluggable.php on line 1174Best wishes
Dermod
Forum: Plugins
In reply to: [Jigoshop] Sagepay gateway SHA-256 (SHA-2) certificatesMany thanks for looking into this Paul.
Best wishes
Dermod