• Resolved MarjoriesDaughter

    (@marjoriesdaughter)


    The following only shows up in the dashboard on posts between the Add Media and the Add Form buttons.

    Deprecated: media_buttons_context is deprecated since version 3.5.0! Use media_buttons instead. in /wp-includes/functions.php on line 5088

    This error started showing up 6/5/20 after the update. I tracked the error back through wp-includes and wp-admin/includes/media.php, which are the WordPress core’s code to throw the error.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Justin McElhaney

    (@jmcelhaney)

    I am unable to replicate this issue when using the Gutenberg page editor. You are most likely seeing this issue due to your theme or a page builder calling the deprecated modal function that is still included in Ninja Forms that has not been updated due to WordPress moving to the Gutenberg page editor. I have created an issue for this in our system for our developers to look into it.

    The warning is due to the use of the deprecated filter media_buttons_context in this file:

    ninja-forms/includes/Admin/AddFormModal.php: line 12

    Wordpress 5.4.2
    Ninja Forms 3.4.24.3

    • This reply was modified 4 years, 3 months ago by eduardoescdel.
    Ced

    (@cedriccharles)

    Hello there !

    Same here. I don’t use any page builder and my theme is not using the old modal function. I’m not using Gutenberg, I’m using Classic Editor.

    Thank you in advance,
    Cedric

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Recent update causing PHP error’ is closed to new replies.