• Resolved chemicalscream

    (@chemicalscream)


    When I upload images to a gallery I get this error:

    An unexpected error occured. This is most likely due to a server misconfiguration. Check your PHP error log or ask your hosting provider for assistance.

    I’ve contacted my webhost about this and they checked my phplog and came back with this errors and told me I should contact you and ask for help regarding this issue.

    [11-Jan-2018 12:29:47 UTC] PHP Warning: Invalid argument supplied for
    foreach() in
    /home/wp-content/plugins/nextgen-gallery/products/photocrat i_nextgen/modules/nextgen_data/pel-0.9.6/class.exif_writer.php
    on line 69
    [11-Jan-2018 19:33:00 UTC] PHP Warning: Invalid argument supplied for
    foreach() in
    /home/wp-content/plugins/nextgen-gallery/products/photocrat i_nextgen/modules/nextgen_data/pel-0.9.6/class.exif_writer.php
    on line 69

    Help? Please and thank you! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter chemicalscream

    (@chemicalscream)

    nothing? ??

    Plugin Contributor Imagely

    (@imagely)

    @chemicalscream – Did you find anything relevant in your server error_log files and/or from your web hosting tech support as it relates to your site?

    Can you share the Site Details from under Gallery > Overview as well?

    Thanks!

    – Cais.

    Thread Starter chemicalscream

    (@chemicalscream)

    When I contacted my webhost about this problem this is the email I received from them about it.

    I do see quite a bit of warnings in the php.log file:
    >
    > [11-Jan-2018 12:29:47 UTC] PHP Warning: Invalid argument supplied for
    > foreach() in
    > /home/cp_erin/colourpop.me/wp-content/plugins/nextgen-
    > gallery/products/photocrati_nextgen/modules/nextgen_data/
    > pel-0.9.6/class.exif_writer.php
    > on line 69
    > [11-Jan-2018 19:33:00 UTC] PHP Warning: Invalid argument supplied for
    > foreach() in
    > /home/cp_erin/colourpop.me/wp-content/plugins/nextgen-
    > gallery/products/photocrati_nextgen/modules/nextgen_data/
    > pel-0.9.6/class.exif_writer.php
    > on line 69
    >
    > Have you shared the warnings/errors in your php.log to the support team
    > at nextgen-gallery to see what may be preventing you from uploading?
    >
    > There was a fatal error entry in the php.log but it is regarding another
    > script:
    >
    > [05-Jan-2018 07:03:43 UTC] PHP Fatal error: Allowed memory size of
    > 94371840 bytes exhausted (tried to allocate 52010112 bytes) in
    > /home/cp_erin/colourpop.me/wp-includes/class-phpmailer.php on line 2733
    >
    > This error can be resolved by changing the default php memory_limit
    > through your phprc file:
    >
    > https://help.dreamhost.com/hc/en-us/articles/214893937-How-
    > do-I-increase-the-PHP-memory-limit-
    >
    > If you’re still having trouble with uploading through your nextgen
    > plugin, you may want to inquire with the plugin support and share the
    > php.log entries regarding the warning. If they have feedback on changes
    > needed on the server-side, please let us know and we’d be happy to take a
    > look and see if it can be implemented.
    >
    > If you have additional information or questions, please reply back at any
    > time.

    I fixed the memory limit issue I had with the OTHER plugin listed above and it did not fix my nextgen issue. The only other error in my PHP log is this one:

    [29-Jan-2018 17:14:52 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/cp_erin/colourpop.me/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/pel-0.9.6/class.exif_writer.php on line 69

    and that one is the ONE consistent error in my log and it goes back to 12/18/17.

    Plugin Contributor Imagely

    (@imagely)

    @chemicalscream – Have you changed what functionality of NextGEN Gallery you were using in or around that date? We’re not seeing this consistently and are not able to recreate this problem in testing.

    – Cais.

    I’m having the same.

    Plugin Contributor Imagely

    (@imagely)

    @eventermom – Please start your own topic so we can try to help you with your specific issue on your specific site.

    See https://make.www.ads-software.com/support/handbook/forum-welcome/#post-in-the-best-place

    Thanks!

    – Cais.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error when uploading to Galleries’ is closed to new replies.