Okay
  Public Ticket #3403831
wordpress error
Closed

Comments

  • Mauro Corbani started the conversation

    I did a new installation of my website. And I get this error related to the mp3 player plugin:

    this is my actual configuration:

    WordPress version 6.2.2
    Active theme: Hello Elementor (version 2.7.1)
    Current plugin: MP3 Audio Player by Sonaar (version 4.6.1)
    PHP version 8.1.18

    this is the error:

    WordPress caught an error with one of your plugins, MP3 Audio Player by Sonaar.


    this is the error details:

    An error of type E_ERROR was caused in line 179 of the file /home/lovereco/public_html/wp-content/plugins/mp3-music-player-by-sonaar/includes/widgets/sr-music-player.php. Error message: Uncaught Error: Undefined constant "ElementorSR_PLAYLIST_CPT" in /home/lovereco/public_html/wp-content/plugins/mp3-music-player-by-sonaar/includes/widgets/sr-music-player.php:179
    Stack trace:
    #0 /home/lovereco/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2329): ElementorSR_Audio_Player->register_controls()
    #1 /home/lovereco/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(1039): ElementorControls_Stack->init_controls()
    #2 /home/lovereco/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(496): ElementorWidget_Base->init_controls()
    #3 /home/lovereco/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(177): ElementorControls_Stack->get_stack()
    #4 /home/lovereco/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(300): ElementorWidget_Base->get_stack()
    #5 /home/lovereco/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2416): ElementorControls_Stack->get_controls()
    #6 /home/lovereco/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(1109): ElementorControls_Stack->sanitize_settings()
    #7 /home/lovereco/public_html/wp-content/plugins/elementor/includes/base/element-base.php(531): ElementorControls_Stack->get_data()
    #8 /home/lovereco/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(724): ElementorElement_Base->get_raw_data()
    #9 /home/lovereco/public_html/wp-content/plugins/elementor/includes/base/element-base.php(536): ElementorWidget_Base->get_raw_data()
    #10 /home/lovereco/public_html/wp-content/plugins/elementor/includes/base/element-base.php(536): ElementorElement_Base->get_raw_data()
    #11 /home/lovereco/public_html/wp-content/plugins/elementor/core/base/document.php(977): ElementorElement_Base->get_raw_data()
    #12 /home/lovereco/public_html/wp-content/plugins/elementor/modules/usage/module.php(570): ElementorCoreBaseDocument->get_elements_raw_data()
    #13 /home/lovereco/public_html/wp-content/plugins/elementor/modules/usage/module.php(183): ElementorModulesUsageModule->save_document_usage()
    #14 /home/lovereco/public_html/wp-content/plugins/elementor/modules/usage/module.php(296): ElementorModulesUsageModule->after_document_save()
    #15 /home/lovereco/public_html/wp-content/plugins/elementor/core/upgrade/upgrades.php(654): ElementorModulesUsageModule->recalc_usage()
    #16 /home/lovereco/public_html/wp-content/plugins/elementor/core/upgrade/upgrades.php(31): ElementorCoreUpgradeUpgrades::recalc_usage_data()
    #17 [internal function]: ElementorCoreUpgradeUpgrades::_on_each_version()
    #18 /home/lovereco/public_html/wp-content/plugins/elementor/core/base/background-task.php(274): call_user_func()
    #19 /home/lovereco/public_html/wp-content/plugins/elementor/core/base/background-task.php(178): ElementorCoreBaseBackground_Task->task()
    #20 /home/lovereco/public_html/wp-content/plugins/elementor/core/base/background-task.php(133): ElementorCoreBaseBackground_Task->handle()
    #21 /home/lovereco/public_html/wp-includes/class-wp-hook.php(308): ElementorCoreBaseBackground_Task->handle_cron_healthcheck()
    #22 /home/lovereco/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #23 /home/lovereco/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #24 /home/lovereco/public_html/wp-content/plugins/elementor/core/base/background-task.php(93): do_action()
    #25 /home/lovereco/public_html/wp-content/plugins/elementor/core/base/background-task-manager.php(68): ElementorCoreBaseBackground_Task->continue_run()
    #26 /home/lovereco/public_html/wp-content/plugins/elementor/core/base/background-task-manager.php(83): ElementorCoreBaseBackground_Task_Manager->continue_run()
    #27 /home/lovereco/public_html/wp-content/plugins/elementor/core/base/db-upgrades-manager.php(240): ElementorCoreBaseBackground_Task_Manager->__construct()
    #28 /home/lovereco/public_html/wp-content/plugins/elementor/includes/plugin.php(747): ElementorCoreBaseDB_Upgrades_Manager->__construct()
    #29 /home/lovereco/public_html/wp-content/plugins/elementor/includes/plugin.php(647): ElementorPlugin->init_components()
    #30 /home/lovereco/public_html/wp-includes/class-wp-hook.php(308): ElementorPlugin->init()
    #31 /home/lovereco/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #32 /home/lovereco/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #33 /home/lovereco/public_html/wp-settings.php(623): do_action()
    #34 /home/lovereco/public_html/wp-config.php(96): require_once('/home/lovereco/...')
    #35 /home/lovereco/public_html/wp-load.php(50): require_once('/home/lovereco/...')
    #36 /home/lovereco/public_html/wp-admin/admin.php(34): require_once('/home/lovereco/...')
    #37 /home/lovereco/public_html/wp-admin/index.php(10): require_once('/home/lovereco/...')
    #38 {main}
      thrown



  •  1,114
    Max replied

    Hi,

    please go to wp-admin > MP3 Player > Settings and click Save Changes.

    Tell me if it works after you saved the settings.

    Thanks,


    Max from the Sonaar.io Crew

  • Mauro Corbani replied

    It is working. Thanks