Support » Plugin: rtMedia for WordPress, BuddyPress and bbPress » Plugin compatilbilty issues post WordPress update to latest version

  • Hi there,

    My site is experiencing compatibility issues post update to the latest version of WordPress.

    Error is: Notice: WP_Scripts::localize was called incorrectly. The $l10n parameter must be an array. To pass arbitrary data to scripts, use the wp_add_inline_script() function instead

    this is the issue I am getting.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Pooja N Muchandikar


    Hi @basnetsamriddhi,

    Sorry to hear the inconvenience you are facing at your end.

    We fixed the issue and is under review process. We will have release with the fix soon.




    I have same notice in php log.

    Stack trace
    1. {main}() /index.php:0
    2. require() /index.php:17
    3. require_once() /wp-blog-header.php:19
    4. include() /wp-includes/template-loader.php:106
    5. get_header() /wp-content/plugins/youzify/includes/public/templates/youzify-template.php:7
    6. locate_template() /wp-includes/general-template.php:48
    7. load_template() /wp-includes/template.php:676
    8. require_once() /wp-includes/template.php:730
    9. wp_head() /wp-content/themes/olympus/header.php:9
    10. do_action() /wp-includes/general-template.php:3009
    11. WP_Hook->do_action() /wp-includes/plugin.php:484
    12. WP_Hook->apply_filters() /wp-includes/class-wp-hook.php:316
    13. wp_enqueue_scripts() /wp-includes/class-wp-hook.php:292
    14. do_action() /wp-includes/script-loader.php:2027
    15. WP_Hook->do_action() /wp-includes/plugin.php:484
    16. WP_Hook->apply_filters() /wp-includes/class-wp-hook.php:316
    17. RTMedia->enqueue_scripts_styles() /wp-includes/class-wp-hook.php:292
    18. wp_localize_script() /wp-content/plugins/buddypress-media/app/main/RTMedia.php:1351
    19. WP_Scripts->localize() /wp-includes/functions.wp-scripts.php:221
    20. _doing_it_wrong() /wp-includes/class.wp-scripts.php:496
    21. trigger_error() /wp-includes/functions.php:5313
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.