• Resolved ni4ni

    (@ni4ni)


    Hello

    I am using Media Library Folders 3.3.1 on a WordPress 4.7.4 site.
    I was working on a new post and saved some drafts with no problems. Then, all of a sudden, after I saved another draft, I got this error on the top of the page, just next to the “add media” button:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘MaxGalleriaMediaLib’ does not have a method ‘mlp_media_button’ in /home4/idatacoi/public_html/wp-includes/class-wp-hook.php on line 298

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘MaxGalleriaMediaLib’ does not have a method ‘mlp_gallery_button’ in /home4/idatacoi/public_html/wp-includes/class-wp-hook.php on line 298

    Now it shows in every post when trying to edit it. The functionality seems to be the same and it does not show when viewing posts, only on editing them.

    Because of the MaxGalleria and the media button reference I believe it has to do with Media library folders.

    Is it a known problem ? can you help me resolve it ?

    Thank you

    Guy

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    I have just updated Media Library Folders from version 3.3.0 to 3.3.1 and immediately discovered similar issues with the 2 warnings appearing when I edit a PAGE.
    The first warning I receive relates to the method ‘mlp_media_button’ and the 2nd about the method ‘mlp_button_admin_footer’.

    The errors I receive are not displayed in the page itself like Guy. I have the WP PHP Console plugin installed on my site, so the errors are being displayed as a notification by the associated Chrome plugin.

    In addition I have issues with the admin screen for Media Library Folders.

    When browsing folders, after the Ajax loader gif disappears it takes around 4 seconds for any images to appear. When they do appear I have to scroll the page to see the images.

    If the folder has a lot of images I see a message asking me to choose whether to show images or filenames. The message is split in 2 parts, the first part appears above the main buttons (Copy/Move, Rename, Delete etc.) and the rest appears above the buttons to Display Images and Display File Names Only. Clicking on either of these buttons does nothing.

    As it is this plugin is now unusable, so I hope you can resolve these issues as soon as possible.

    Regards,
    Ian

    Plugin Author AlanP57

    (@alanp57)

    Thank your Guy and Ian for the information. I’ll address these issues and get an updated version out right away.

    Plugin Author AlanP57

    (@alanp57)

    Media Library Folder 3.3.2 has been released.

    Thread Starter ni4ni

    (@ni4ni)

    Hello

    After upgrading the problem seems to be gone !

    Thank you
    Guy

    Hi AlanP57,

    I can also confirm that the update fixed the PHP warnings ??

    FYI, the layout issues were still present at first when I updated the plugin to 3.3.2 but disappeared shortly after, I assume my browser had cached some css files from before the update to 3.3.1.

    The only issue that I still wonder about is, I no longer get asked to choose between “Display Images” and “Display File Names Only”, when I have a lot of images in a folder. I’m guessing you may have temporarily removed this feature in order to provide a quick update fix for the PHP issues?

    Finally can I send you a massive thanks for such a quick resolution to the issue.

    Regards,

    Ian

    Plugin Author AlanP57

    (@alanp57)

    Unfortunately that is a feature that is only available in the Pro version. Also in the latest Pro version, Media Library Folders appears in the Media Uploader for inserting files into posts and pages. And more improvements are on the way.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Warnings near “add media” button when editing posts’ is closed to new replies.