Some errors
-
I’m getting the following errors when the constant
WP_DEBUGis set totrue: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:692You should add
global $wpdb;at the top of thelava_auto_generator_callback()function in theclass-core.phpfile.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 802There are two mentions to a
$is_removevar in functionrewriteListing()in theclass-core.phpfile 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.