There has been a critical error on your website

Good Day,

I’m experiencing the following error on my wordpress site after updating X theme (and cornerstone v 4.2.3) to the latest release 7.2.3:

There has been a critical error on your website.

Learn more about debugging in WordPress.

I’ve also tried to resolve it by increasing my memory limit in the wp-config.php file, but to no avail.

Any suggestions on how to resolve this quickly?

Hello Charne,

We’re sorry you are having this issue.

Please try checking your error log to see the details of the issue. Or as stated on this documentation, you can enable debug mode so we can see it directly on your site.

WP_DEBUG is a PHP constant (a permanent global variable) that can be used to trigger the “debug” mode throughout WordPress. It is assumed to be false by default and is usually set to true in the wp-config.php file on development copies of WordPress.

Just add this line on your site’s wp-config.php file.

define( 'WP_DEBUG', true );

Let us know know the displayed issue after that.

Hi There,

Thanks. I’ve enabled debug and the following error was returned:

Fatal error* : Uncaught Error: Call to undefined function get_current_screen() in /home/willow/public_html/new/wp-content/plugins/svg-vector-icon-plugin/admin/partials/wp-svg-icons-default-icons-page.php:3 Stack trace: #0 /home/willow/public_html/new/wp-content/plugins/svg-vector-icon-plugin/admin/class-wp-svg-icons-admin.php(201): require_once() #1 /home/willow/public_html/new/wp-includes/class-wp-hook.php(287): WP_SVG_Icons_Admin->add_insert_icon_button(‘cswpeditor’) #2 /home/willow/public_html/new/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 /home/willow/public_html/new/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #4 /home/willow/public_html/new/wp-includes/class-wp-editor.php(235): do_action(‘media_buttons’, ‘cswpeditor’) #5 /home/willow/public_html/new/wp-includes/general-template.php(3412): _WP_Editors::editor(’%%PLACEHOLDER%%’, ‘cswpeditor’, Array) #6 /home/willow/public_html/new/wp-content/plugins/cornerstone/includes/classes/app/class-app.php(289): wp_editor(’%%PLACEHOLDER%%’ in /home/willow/public_html/new/wp-content/plugins/svg-vector-icon-plugin/admin/partials/wp-svg-icons-default-icons-page.php on line *3

seems like it’s the cornerstone editor throwing errors?..

I deactivated the WP-SVG-Icons plugin, and everything is running now. Would I be fine reinstalling it, or should I find a substitute for that plugin?

Hi Charne,

It would be best to get in touch with the plugin developer for that question as they should be able to provide you with better answer since it is not something we can check on our end.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.