• Resolved francoc30

    (@francoc30)


    Hi,
    In the php error log, there are two warnings. My galleries still load and display. Please advise.
    WP – 5.8.1, NextGEN Gallery – 3.16, php – 7.4.10

    PHP Warning: Invalid argument supplied for foreach() in /my-domain/wp-includes/script-loader.php on line 2678
    PHP Warning: in_array() expects parameter 2 to be array, null given in /my-domain/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/module.nextgen_gallery_display.php on line 210

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Mihai Ceban

    (@mihaiimagely)

    Hi @francoc30,

    First of all, I am wondering if you can try re-installing NextGen Gallery. That’d require downloading NextGen Gallery new then installing it from your site’s “Dashboard -> Plugins -> Add new -> Upload plugin” with the files replacement to see if that will clear the warning.

    Thread Starter francoc30

    (@francoc30)

    Hi mihai-imagely,
    Do I download and reinstall 3.16 or an earlier version?
    To reinstall, I need to deactivate and delete the existing NGG first, right? Or just deactivate and reinstall on top of it.
    Will this action also delete all my NGG settings, galleries and albums?
    These actions will be on a production site. That makes me very nervous.

    Plugin Support Mihai Ceban

    (@mihaiimagely)

    Hi @francoc30,

    Let’s try downloading and re-installing NGG 3.16 first. If using WP 5.6 or a newer version it will allow you to rewrite the plugin’s files without the need to deactivate and delete NGG plugin first. This may potentially result in settings reset ( rarely ) but it will not affect any of the existing galleries or albums.

    • This reply was modified 3 years, 6 months ago by Mihai Ceban.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘php warning’ is closed to new replies.