Support » Plugin: Karma Music Player by Kadar » Fatal error won’t activate

  • Resolved carasmo

    (@carasmo)


    Won’t activate. 4.9.1. Local .dev site.

    Fatal error: Uncaught Error: Call to undefined function vc_add_shortcode_param() in /app/public/wp-content/plugins/karma-by-kadar/lib/karma_by_kadar__vc_functions.php:30 Stack trace: #0 /app/public/wp-content/plugins/karma-by-kadar/karma-by-kadar.php(30): require_once() #1 /app/public/wp-admin/includes/plugin.php(1897): include(‘/app/public/wp-…’) #2 /app/public/wp-admin/plugins.php(172): plugin_sandbox_scrape(‘karma-by-kadar/…’) #3 {main} thrown in /app/public/wp-content/plugins/karma-by-kadar/lib/karma_by_kadar__vc_functions.php on line 30

Viewing 4 replies - 1 through 4 (of 4 total)
  • You need:

    if ( function_exists( 'vc_add_shortcode_param' ) ) :
    	vc_add_shortcode_param( 'karma_by_kadar__file_picker', 'karma_by_kadar__file_picker_settings_field', KARMA_BY_KADAR__PLUGIN_URL . 'js/karma_by_kadar__file_picker.js' );
    endif;
    Plugin Author Kadar Claudiu

    (@kadarclaudiu)

    Hi!

    I am sorry about that! I will make an update ASAP for this issue. Thank you!

    Kadar Claudiu

    I did the function exists, but the the mp3s won’t play. They play with the standard WP builtin player. I turned off all plugins too, still no joy. Does this plugin have to on a server and not a dev site to work? I used ngrok and that didn’t work either.

    Plugin Author Kadar Claudiu

    (@kadarclaudiu)

    Hi!

    I am sorry for this delay. I have tested MP3 files on my localhost and it is working.

    Kadar Claudiu

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error won’t activate’ is closed to new replies.