Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: WP 5.2 Fatal Error

Mike Georg free asked 5 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 answered 5 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



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: 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