Conflict with Envato Market plugin
-
Whenever I try to use the [wp-pic] shortcode, the following error is displayed on the frontend:
<b>Fatal error</b>: Uncaught Error: Call to undefined function get_plugins() in /srv/www/khromov-se/public/wp-content/plugins/envato-market/inc/items.php:195
Stack trace:
#0 /srv/www/khromov-se/public/wp-content/plugins/envato-market/inc/items.php(548): Envato_Market_Items->wp_plugins(true)
#1 /srv/www/khromov-se/public/wp-content/plugins/envato-market/inc/items.php(428): Envato_Market_Items->process_plugins(Array, Array)
#2 /srv/www/khromov-se/public/wp-content/plugins/envato-market/inc/items.php(331): Envato_Market_Items->set_plugins(true)
#3 /srv/www/khromov-se/public/wp/wp-includes/plugin.php(235): Envato_Market_Items->plugins_api(false, 'plugin_informat...', Object(stdClass))
#4 /srv/www/khromov-se/public/wp/wp-admin/includes/plugin-install.php(141): apply_filters('plugins_api', false, 'plugin_informat...', Object(stdClass))
#5 /srv/www/khromov-se/public/wp-content/plugins/wp-plugin-info-card/wp-plugin-info-card-add-plugin.php(31): plugins_api('plugin_informat...', Object(stdClass))
#6 /srv/www/khromov-se/public/wp/wp-inclu in <b>/srv/www/khromov-se/public/wp-content/plugins/envato-market/inc/items.php</b> on line <b>195</b>
The error disappears if the shortcode is not used.
- The topic ‘Conflict with Envato Market plugin’ is closed to new replies.