gallery javascripts not being enqueued Status:

Home Forums Wall/Grid Gallery (WP NextGEN Gallery Template) gallery javascripts not being enqueued

This topic is: resolved

This topic contains 5 replies, has 2 voices, and was last updated by  Oana 3 years, 4 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)

  • Hi,

    I had the template working fine on my site until a few days ago. Nothing I know of has changed with other site files/plugins.
    The first problem was the pagination stopped working. The first page of the gallery would display fine, but other pages just said ‘no images found’. But now the problem has gotten worse, and even the first page is not displaying.
    From what I can tell in the console, it looks like the required javascript files are not being enqueued/loaded, so I get the error “Uncaught TypeError: Object [object Object] has no method ‘DOPNextGENWallGridGallery’ “.
    The url is
    http://www.besharatgallery.com/selected-works/?galleryid=7&type=artist&artistName=PARISH%C2%A0KOHANIM

    Thank you

    • This topic was modified 3 years, 4 months ago by  mmillwood1.


    Update: I don’t know what happened but now the first gallery pages are showing again, and the scripts are being downloaded. However, the subsequent pages still do not download the scripts or display.

    I think the problem is the url links that are being generated for the pagination, in combination with the get parameter string. The url’s it produces look like this:
    http://www.besharatgallery.com/selected-works/nggallery/page/2?galleryid=2&type=artist&artistName=JEAN%C2%A0ARCELIN/

    The correct url should be this:
    http://www.besharatgallery.com/selected-works/nggallery/page/2/?galleryid=2&type=artist&artistName=JEAN%C2%A0ARCELIN

    Notice the missing forward slash after the page number, and it’s adding that slash to the end of the get string. I just don’t know how or where in the code to fix this problem.



    Oana Support Team #10100

    Hello,

    Please send us the WP & FTP info login in a private reply to see and fix your problem.

    Thank you



    This reply content has been deleted.

    This is an automatic action, which occurs after a week, if the user provided sensitive information in a private reply.



    This reply content has been deleted.

    This is an automatic action, which occurs after a week, if the user provided sensitive information in a private reply.



    Oana Support Team #10227

    Hello,

    This error occurs because of NexGen, as the numbering of the Gallery is made by this plugin. For now, the solution found by you, I find it very good.
    If you have any other questions don’t hesitate to contact us.

    Thank you.


Viewing 6 posts - 1 through 6 (of 6 total)

The topic gallery javascripts not being enqueued is closed to new replies.