Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Imagely

    (@imagely)

    Hi @rweil55

    I was wondering if you already checked cache and conflict.
    Let’s try something.

    CACHE
    Clear or deactivate any plugin cache you have installed (I know you have done that before, but It’s part of the troubleshooting steps).
    Go to Gallery > Other options > Miscellaneous > and click on “Clear image cache”.

    CONFLICTS
    1.- Temporarily deactivate all your plugins except NextGen Gallery and NextGen Pro (or Plus).
    2.- Is the problem solved? Then, it was caused by one of your plugins. Please check one by one and find the one causing the problem.
    3.- If the problem is not solved with the deactivation of the plugins, try changing to a standard WordPress theme, it could be a conflict with your current theme.

    Please let us know how it goes.
    – Gaby

    @rweil55

    Can you give a bit more info about what content you have on that page?

    1) Is that a series of NGG shortcodes/galleries?

    2) If there are multiple galleries there – can you try removing one a time and saving and see if your error goes away? What I’m trying to understand is if that errors is specific to just one of the galleries you are displaying there.

    3) I see a place where it says ‘invalid shortcode’: https://monosnap.com/file/ep4DdaIon9P9jzeU63S4njvCF1q0np
    At that spot, if there’s a NGG shortcode, can you copy it here?


    Also just a note that the first part of your instructions:

    “Go to page https://eriepittsburghtrail.org/home/photo-one/
    Click through a few of the images.
    Click an image to get the bigger view”

    That’s all working fine for me, and also wasn’t necessary to duplicate your error. Is there a particular thing you’re expecting us to see in that sequence?

    Thread Starter rweil55

    (@rweil55)

    Interesting.

    If I just go to the site, and select dropdown “home”, “photos by trail” in the first group, I get six photos. 3 across by 2 down, and no error message. That sequence just happened to be the one where I saw the error and was able to reproduce it.

    When I get the error, as seen in your screen shot, there are only five photos and the “invalid shortcode” message for the six one (row 3, col 1).

    The photos are laid out using tablepress. One cell per each image. All of the cells except row 3, column 1 contain something like:
    <a href="https://eriepittsburghtrail.org/wp-content/uploads/2014/01/Bollards_lanes.jpg"><img src="https://eriepittsburghtrail.org/wp-content/uploads/2014/01/Bollards_lanes-300x224.jpg" alt="" width="300" height="224" /></a>

    looking at the table press source, row 3, column 1 contains the shortcode [singlepic id=24 w= h= float=none].

    When it works, view source for the row is:

    <tr class="row-3">
    	<td class="column-1">            
    		<div class="ngg-gallery-singlepic-image " style="">
    			    	<a href="https://eriepittsburghtrail.org/wp-content/gallery/topbarimages/sthnrampto89.jpg"
    		     title="East Branch Trail"
                 data-src="https://eriepittsburghtrail.org/wp-content/gallery/topbarimages/sthnrampto89.jpg"
                 data-thumbnail="https://eriepittsburghtrail.org/wp-content/gallery/topbarimages/thumbs/thumbs_sthnrampto89.jpg"
                 data-image-id="24"
                 data-title="sthnrampto89"
                 data-description="East Branch Trail"
                 target='_self'
                 class="ngg-fancybox" rel="9e0f95ebafcc27fa19cf191d05f1e58d">
                <img class="ngg-singlepic"
                 src="https://eriepittsburghtrail.org/wp-content/gallery/topbarimages/dynamic/sthnrampto89.jpg-nggid0224-ngg0dyn-0x0x100-00f0w010c010r110f110r010t010.jpg"
                 alt="sthnrampto89"
                 title="sthnrampto89"
                               />
        	</a>
    		      </div>
            </td><td class="column-2"><a href="https://eriepittsburghtrail.org/wp-content/uploads/2014/10/ebtopning.jpg"><img src="https://eriepittsburghtrail.org/wp-content/uploads/2014/10/ebtopning-300x225.jpg" alt="" width="300" height="225" /></a></td><td class="column-3"><a href="https://eriepittsburghtrail.org/wp-content/uploads/2014/10/buggyoverbds.jpg"><img src="https://eriepittsburghtrail.org/wp-content/uploads/2014/10/buggyoverbds-300x232.jpg" alt="" width="300" height="232" /></a></td>
    </tr>

    Hope this helps.

    Roy

    Plugin Contributor Imagely

    (@imagely)

    Hi Roy,

    Thanks for providing the shortcode that you have used.
    I see that you have used w,h parameters without any values which could lead to such warnings.

    No, worries about missing a parameter (that one will just use the predefined defaults) Can you please use a shortcode that wouldn’t include any empty parameters just like below to see if the warning persists:

    [singlepic id=1 float=none]

    Greetings,
    Mihai

    Thread Starter rweil55

    (@rweil55)

    Removing the “w= h=” caused the error to go away.

    Thanks for pointing out the invalid shortcode message.

    I assume you will fix nextgen gallery at some time to except the blank parameter or display a more meaningful message.

    Roy

    Plugin Contributor Imagely

    (@imagely)

    Hi Ron!
    Since you have replied in the bug report “239466” – “problem solved. please close this ticket”. We’ll proceed to mark this ticket as resolve in here as well.
    Glad we can help!

    -Gaby

    Plugin Contributor Imagely

    (@imagely)

    Hi @rweil55,

    So I think I need to add a note to my previous reply.
    This wasn’t actually an error of any kind, just a “Notice” due to the fact that your WordPress debug mode has been enabled in wp-config.php file and you were overriding the defaults values by attributing empty values or NULL for the NextGen shortcode’s parameters ( w, h ).

    This “Notice” doesn’t affect anyhow the gallery’s functionality and wouldn’t normally show up if the WordPress’ debug mode isn’t enabled.

    Mihai

    • This reply was modified 6 years, 5 months ago by Imagely.
    Thread Starter rweil55

    (@rweil55)

    I agree that it was just a notice.

    but I spent 1.75 hours working on it, and I assume you and your support team spent time on it.

    If I understand the problem, a range test on the offset, with a return of a useful error message would have saved me, you and next person that time.

    Roy

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘nextgen gallery causes errror on following page’ is closed to new replies.