• Resolved leemon

    (@leemon)


    I’m getting the following errors when the constant WP_DEBUG is set to true:

    27-Feb-2020 08:29:50 UTC] PHP Notice:  Undefined variable: wpdb in /www/wp-content/plugins/lava-directory-manager/includes/class-core.php on line 692
    [27-Feb-2020 08:29:50 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get_var() on null in /www/wp-content/plugins/lava-directory-manager/includes/class-core.php:692

    You should add global $wpdb; at the top of the lava_auto_generator_callback() function in the class-core.php file.

    Also, I’m getting another error:

    [27-Feb-2020 08:33:31 UTC] PHP Notice: Undefined variable: is_remove in /www/wp-content/plugins/lava-directory-manager/includes/class-core.php on line 802

    There are two mentions to a $is_remove var in function rewriteListing() in the class-core.php file that should be changed to $isRemove.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Some errors’ is closed to new replies.