• Hi,

    Unfortunately the plugin isn’t yet compatible with PHP8. I just upgraded a client to PHP8 after launching a new replacement site, but found Media Library Folders was inaccessible, generating a WordPress error page. After disabling individual and all plugins that I resolved I had to revert back to PHP7.4 which restores Admin Dashboard access to my Media Library Folders.

    7.4 Error log also reports a warning:

    `PHP Warning:  implode(): Invalid arguments passed in /home/xxxxxx/public_html/wp-content/plugins/responsive-lightbox/includes/class-folders.php on line 941
    /home/xxxxxx/logs/xxxxxx_com.php.error.log (END)
    

    `

    BTW, JFYI, official support for PHP7.4 reaches EOL in November 2022!

    Many thanks.

Viewing 1 replies (of 1 total)
  • Thread Starter The Old Man

    (@graham-smith)

    Hi,

    Still have this problem unfortunately, unable to access my media library with PHP8, site sends an email alert accordingly. Unable to stay with older PHP7.4. No response from the developer for 6 weeks, support is pretty terrible. Unable to access the media library means my client’s site is effectively broken as I can’t upload new images.

    There has been a critical error on this website. https://mysite.com/wp-admin/upload.php

    WordPress version 6.0
    Active theme: Divi (version 4.17.4)
    Current plugin: Responsive Lightbox & Gallery (version 2.4.1)
    PHP version 8.0.20
    Error Details
    =============
    An error of type E_ERROR was caused in line 941 of the file /home/mysite/public_html/wp-content/plugins/responsive-lightbox/includes/class-folders.php. Error message: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, bool given in /home/mysite/public_html/wp-content/plugins/responsive-lightbox/includes/class-folders.php:941
    Stack trace:
    #0 /home/mysite/public_html/wp-content/plugins/responsive-lightbox/includes/class-folders.php(941): implode(',', false)
    #1 /home/mysite/public_html/wp-includes/class-wp-hook.php(307): Responsive_Lightbox_Folders->add_library_scripts('upload.php')
    #2 /home/mysite/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /home/mysite/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /home/mysite/public_html/wp-admin/admin-header.php(118): do_action('admin_enqueue_s...', 'upload.php')
    #5 /home/mysite/public_html/wp-admin/upload.php(268): require_once('/home/mysite...')
    #6 {main}
     thrown
Viewing 1 replies (of 1 total)
  • The topic ‘Please add support for PHP8 – unable to access Media Library’ is closed to new replies.