Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1476054

    I have been racking my brain trying to get the galleries working on a new site. I kept trying to update, change the images and nothing would change. If I used the basic Gallery, it would just pick the last 5 images in the media library and would show “no items” in the edit gallery page.

    I switched to Masonry and it would allow changes to columns and sizing, but again “no items” in the edit gallery page and the on the gallery page it just displays every image in the media library.

    Same if I switch to horizontal gallery.

    Additional Troubleshooting so far:

    I tried:
    Different browsers (Chrome, Edge, and Firefox)
    Disabling browser anti-virus
    Different machines
    All elements should be up to date
    Disabled all caching
    I rolled back to enfold theme proper from the enfold child theme in case I messed up the php (trying to get header widgets working).
    I disabled all plugins except the management ones (bluehost, jetpack, woocommerce) and even wordfence.
    I tried through connecting through cell phones in case of firewall rules
    I tried switching to a basic theme but those did not have any dynamic galleries to test with
    I tried looking for errors in the cpanel logs (Found none for this site)
    I tried making new pages
    I made sure the user was connected to wordpress.com

    so any ideas?

    I should also note that Enfold instructions on adding flex parameters to header widgets did not work me as it gave me a php error on anything that started with a “.” (So .responsive, .media, etc would not work). Not sure if related but I may start a separate topic on it if its not (Flex somehow not installed?).

    Update: I was shown by the hosting service how to check the wordpress error log correctly and found an error:

    PHP Warning: Undefined variable $permalink in
    ~wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php on line 1463

    keeps repeating over and over. I’ll try a fresh reinstall with a new downloaded copy.

    Update 2: Reinstalling seems to have removed that error, but did not solve the original issue. Ideas?

    • This topic was modified 2 days, 3 hours ago by blreitze. Reason: Additional info
    • This topic was modified 1 day, 18 hours ago by blreitze. Reason: Additional info
    • This topic was modified 1 day, 18 hours ago by blreitze.
    • This topic was modified 1 day, 17 hours ago by blreitze. Reason: Additional info
    • This topic was modified 1 day, 17 hours ago by blreitze. Reason: Update on troubleshooting
    #1476115

    Hey blreitze,

    Thanks for the login details. The specific page that you linked to only contains a shortcode, where can we reproduce the problem?

    Best regards,
    Rikard

    #1476145

    I had to replace the original gallery with a plugin to get the site working in the meantime.

    I have created a specific page to replicate the problem (Added in Private). However the replicated page was not giving the problem. Since the first replication attempt did gave the problem I am assuming the issue is possibly with the images I was originally using? I had 15 images originally and 4 did not upload in Chrome as they exceeded 2560 pixels. The remaining 11 were just under that and are what I was working with when I encountered the gallery issues.

    As mentioned I installed a plugin to get around the issue and it worked with the 11. I have since then removed the 11 to have them reworked, replaced them with compact placeholders, and when I replicated the page just now to demonstrate the problem with newer smaller images it is not occurring.

    Using Firefox I tried reuploading the original 11, but Firefox has been more verbose in encountering errors and refused to upload all but 2 of the original images and those 2 seemed to have completely messed up the test page. I can’t even get the editor to load anymore.

    So could it be despite successfully uploading the original images in Chrome, they were too large for the gallery to work with? Is there an upper limit to what it can work with despite giving no errors?

    • This reply was modified 17 hours, 55 minutes ago by blreitze. Reason: correction
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.