problem with wpdm_tree shortcode
-
Hi,
When I use wpdm_tree with the latest plugin and add-on, I get this error:
Notice: Undefined property: WPDM\WordPressDownloadManager::$setting in /httpdocs/wp-content/plugins/wpdm-extended-shortcodes/wpdm-extended-shortcodes.php on line 437
Fatal error: Uncaught Error: Call to a member function get() on null in /httpdocs/wp-content/plugins/wpdm-extended-shortcodes/wpdm-extended-shortcodes.php:437 Stack trace: #0 /httpdocs/wp-includes/class-wp-hook.php(288): wpdm_embed_tree(”) #1 /httpdocs/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #2 /httpdocs/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /httpdocs/wp-settings.php(523): do_action(‘init’) #4 /httpdocs/wp-config.php(90): require_once(‘/mnt/data/vhost…’) #5 /httpdocs/wp-load.php(37): require_once(‘/mnt/data/vhost…’) #6 /httpdocs/wp-blog-header.php(13): require_once(‘/mnt/data/vhost…’) #7 /mnt/data/vhost in /httpdocs/wp-content/plugins/wpdm-extended-shortcodes/wpdm-extended-shortcodes.php on line 437
The code in question points here:
$hide_all = (int)WPDM()->setting->get(‘_wpdm_hide_all’, 0);It seems like WPDM doesn’t have “setting” or “get”. Do you have a fix for this?
- The topic ‘problem with wpdm_tree shortcode’ is closed to new replies.