Support » Plugin: FileBird - WordPress Media Library Folders & File Manager » FileBird causing PHP Notice: WP_Scripts::localize was called incorrectly

  • Resolved gavin310

    (@gavin310)


    When FileBird is activated it gives the following PHP notice:

    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. Please see Debugging in WordPress for more information. (This message was added in version 5.7.0.) in /…/wp-includes/functions.php on line 5313

    When FileBird is deactivated the notice goes away. It’s been this way for a very long time. Are there any plans to fix this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Ninja Team

    (@ninjateam)

    Hi @gavin310 ,

    Thanks for reaching out. Are you using WPML plugin latest version please?

    Best regards,
    Kelly

    Thread Starter gavin310

    (@gavin310)

    I’m not using the WPML plugin. I’ve deactivated all of my other plugins except for FileBird and the error still shows. Once I deactivate FileBird the error goes away. I’m using FileBird v3.9 and my host is WP Engine.

    Plugin Author Ninja Team

    (@ninjateam)

    So please update to FileBird latest version 4.7.4.
    Let us know if it helps resolve the issue.

    Cheers!

    Thread Starter gavin310

    (@gavin310)

    Ok, thanks. In WordPress it says that v3.9 is the latest version and no update is available.

    Plugin Author Ninja Team

    (@ninjateam)

    Please try download it and update manually https://prnt.sc/15h0kmy
    Let us know if this helps.

    Cheers!

    Thread Starter gavin310

    (@gavin310)

    Thanks. I think I figured out the problem. We have the licensed version of FileBird, so in order to update we need to download from CodeCanyon/Envato.

    Plugin Author Ninja Team

    (@ninjateam)

    Oh yeah that’s correct.
    Cheers!

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