Support » Plugin: WP Plugin Info Card » 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.

    https://wordpress.org/plugins/wp-plugin-info-card/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Brice Capobianco

    (@brikou)

    Hi Stanislav,
    I don’t know Envato Market plugin, but as the above lines says, the fatal error is trigger in this plugin, not in Plugin Info card.
    Can you give me the plugin URL ?
    Best,

    Hey Brice,

    I agree the fatal is triggered in the Envato Market plugin, but it only happens when using the [wp-pic] shortcode.

    You can grab a copy of the Envato Market plugin here:
    https://github.com/envato/wp-envato-market

    Plugin Author Brice Capobianco

    (@brikou)

    Hi Stanislav,
    I just make some tests and I’m not able to reproduce the error.
    I’ve downloaded the plugin, authenticate it with my Envato token, add multiple [wp-pic] shortcodes, but I do not have any error.

    Plugin Author Brice Capobianco

    (@brikou)

    Hi,
    Any news on that ?
    Best,

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.