Topic: WP 5.2 Fatal Error
The site is experiencing technical difficulties.
WP_Fatal_Error_Handler->handle() WP_Fatal_Error_Handler->display_error_template() wp-includes/class-wp-fatal-error-handler.php:50 WP_Fatal_Error_Handler->display_default_error_template() wp-includes/class-wp-fatal-error-handler.php:143 wp_die() wp-includes/class-wp-fatal-error-handler.php:208
Resources (screenshots, code snippets etc.)
Result from Query Monitor plugin
Query Caller Component Error Message Error Code
do_action('init') wp-includes/plugin.php:465 mdw_taxonomy_category_install() wp-content/themes/mdw/inc/ajax/mdw-config.php:28 Theme You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'IF' at line 1 1064
Hi @Mike Georg
Actually we do not support WP5 on MDW Theme, but we have a temporary fix for that:
You need to change
$wpdb->query( $sql ); on line 28 in
/inc/ajax/mdw-config.php. This file is located in mdw theme directory.
We'll fix that in the future.
- User: Free
- Premium support: No
- Technology: jQuery
- MDB Version: 4.3.1
- Device: Wordpress 5.2
- Browser: Chrome
- OS: Debian 9.9
- Provided sample code: No
- Provided link: No