Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter arbil

    (@arbil)

    Update:

    I forgot to mention that I also have an issue uploading photos (in the Library). Upon uploading, it display “The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task….” But the image appears in the Library. It means that the upload was successful but the post-processing (generating thumbnails/metadata) failed or timed-out. This issue causes both “Galleries” and “Add Gallery” pages to be blank cause it cannot generate previews and “metadata” for all images in the gallery.

    What I did:

    • Switch the Image Engine to GD Library. (This can be done as well in “Gallery Settings>Images” if you don’t want to add the script below.)
    • Disable the “Big Image” Threshold.
    • Added this lines of code to theme’s functions.php file.
    /**
    * Fix for WordPress Image Upload Error
    */
    add_filter( 'wp_image_editors', function( $editors ) {
    return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
    });

    add_filter( 'big_image_size_threshold', '__return_false' );

    I tried uploading a photo first and it was successful. No more upload error message. And when I go to the “Galleries” page, it worked! Same as the “Add Gallery” page.

    Problem solve! Thank you so much @bradvin for the support!

    Thread Starter arbil

    (@arbil)

    Hi @bradvin

    I followed your suggestion by deactivating the plugins (in the staging site). I did it one at a time, checking the gallery page as I deactivate one plugin until only the FooGallery is left. I noticed after deactivating a plugin (Collapsing Categories), suddenly both the “Galleries” and “Add Gallery” pages are now displaying “503 Error. Service Unavailable”. Under FooGallery, I can only access the “Albums” page. The rest are showing 503 Error.

    I also changed the theme and it’s the same problem.

    I can give you an access to the staging site, just let me know how.

    Thread Starter arbil

    (@arbil)

    Thanks for your reply, Elvis.

    It’s not really an error message but some garbled or corrupted code that appears at the bottom of the left nav, sometimes at the top of the main page.

    - ba wTNcre eMurtU  lfa>il< "MurtaDmett>hi> t0-j{'p-nohhlbmettiC c-lil<>_nu wp-menu-srfenu&#eui T/aut>hi t0-j{'p-u rztilSNa6li clasht'lbmettiC cw-imen-oclass="w-j{'Nrcpwge.h#Na6litoLy:../y&-yuipi>'lbp')enu-sepaclass="d6i-ss'r{mm -menu-srfenu&#eui T//efenp-pb4rsb-11jla>ilRwlp-u rztiE_Nhnu-sepaclasm -mett=d_clasm -mett=d_clg'td_clg'A="mZd=Rb rzetmgrNs t=d_c_Qly-srfenu&#eu/s'k->'lbmettiC cw-imen-oclass="Ns-h#okmlRb rzetmgrNst-yrrlS0&.rsatg>il<-Rloimen-oclass="Ns-h#okml-->' okml--aG 6-ie='p')enu-sepaclass="a.ud>>ihlbmettiC c--mz'Go wn)zeS8swks>'lbp')enwksvnclass="Ns-hEr#8bZ)enwksvnc "Ns-hkuiYNst-wksv cr 6-s="Noar#8bZ)end9t-wksv cr 6-s="Noar#8bZ)end9t-wksv cr 6-s="Noar#8bZ)end9t-wksv cO/-wk

    I’ve reviewed the debug logs for FooGallery-related issues but didn’t see anything that stood out. I’m not certain what specific indicators I should be looking for, so if there are particular error strings or patterns you recommend, please let me know.

    Thread Starter arbil

    (@arbil)

    Btw, here’s the site settings:

    FooGallery version : 3.1.1
    WordPress version : 6.9
    Activated Theme : Point
    PHP version : 8.2.29

    Thread Starter arbil

    (@arbil)

    I temporarily fixed it…
    – dl that file
    – put this if(is_iterable ($options)) { ... } around the foreach (line 912)

Viewing 5 replies - 1 through 5 (of 5 total)