• Resolved jtmiles

    (@jtmiles)


    I just upgraded to WP 4.5.3 and updated to the latest Document Gallery. To my knowledge it is just on one template I am receiving an error on all pages using that template. When the page(s) loads I receive the errors:

    Warning: Invalid argument supplied for foreach() in /home/content/69/10898769/html/HA.org/wp-content/plugins/document-gallery/inc/class-setup.php on line 143

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/69/10898769/html/HA.org/wp-content/plugins/document-gallery/inc/class-setup.php:143) in /home/content/69/10898769/html/HA.org/wp-includes/pluggable.php on line 1196

    http://harvestamerica.org/HA.org/?page_id=797
    in mobile view it does load the content after the errors
    Please let me know what other info you need.

    John

    https://wordpress.org/plugins/document-gallery/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Dan Rossiter

    (@danrossiter)

    Hi John,

    I took a quick look and based on the error and the line number mentioned, I don’t believe you’re running DG 4.2.3. Can you please try uninstalling (and verifying that the “document-gallery” directory is removed from your wp-content/plugins, then re-install?

    -Dan

    Thread Starter jtmiles

    (@jtmiles)

    Dan,

    It could be. I had tried to update two plugins the other day, DG being one of them.
    Something strange occurred during the updates, didn’t get the usual page after the update.
    DG seems to think it is updated but the other says it is not, but fails when I try to update it.
    Also, I have noticed that I only receive the error when I have used a shortlink to get to the page?

    when I uninstall and reinstall will I need to rebuild the all items I have used it for? If so I will need to take stock and better notes to rebuild it all before I do.

    John

    Thread Starter jtmiles

    (@jtmiles)

    Dan,

    Actually I was thinking of another plugin when I was considering DG’s functionality. I have it installed on this site, but I am not currently using it for anything on this site.

    I will uninstall and reinstall and let you know.

    sorry for my confusion,
    John

    Thread Starter jtmiles

    (@jtmiles)

    Dan,

    that has corrected whatever issue there was.

    Thank you for your time.

    John

    Plugin Author Dan Rossiter

    (@danrossiter)

    Fantastic! Glad to help 🙂

    -Dan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Page fails to load throws errors’ is closed to new replies.