Topic: WP 5.2 Fatal Error
Mike Georg asked 6 years ago
The site is experiencing technical difficulties.
Call stack:
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
DESCRIBE IF;
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
Arkadiusz Cacko staff pro premium priority answered 6 years ago
Hi @Mike Georg
Actually we do not support WP5 on MDW Theme, but we have a temporary fix for that:
You need to change dbDelta($sql);
to $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.
Regards
Arek
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.3.1
- Device: Wordpress 5.2
- Browser: Chrome
- OS: Debian 9.9
- Provided sample code: No
- Provided link: No