• Resolved jakus

    (@jakus)


    Hi,

    Since updating to the latest version of this plugin, I am receiving the following jQuery error:

    SyntaxError: Unexpected token <(…) ajax-load-more.min.js?ver=2.10.0.1:926

    Any ideas why this may be occurring?

    I am going to revert back to the previous version in the meantime.

    FYI: I am definitely loading wp_footer and am calling the shortcode using do_shortcode()

    Cheers,

    J

    https://www.ads-software.com/plugins/ajax-load-more/

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter jakus

    (@jakus)

    Could I please have an update on this?

    It’s now broken on another of my dev sites.. Completely different shortcode setup, exact same js error.

    For what it’s worth I’m using Sage as my base theme for development.

    Cheers.

    J

    Plugin Author Darren Cooney

    (@dcooney)

    Here is a screenshot of the response tab.
    https://www.dropbox.com/s/dw0sx5wai94m8z8/Screenshot%202016-04-13%2010.40.25.png?dl=0

    It’s under the admin-ajax GET query.

    Thread Starter jakus

    (@jakus)

    Silly me.

    This is what I get in the response tab:

    <br />
    <b>Notice</b>:  ob_end_clean(): failed to delete buffer. No buffer to delete in <b>/Users/swimcommunications
    /webApps/pjse/wp/wp-content/plugins/ajax-load-more/ajax-load-more.php</b> on line <b>1280</b><br />
    {"html":"<div class=\"col-sm-6 col-md-6 col-lg-4 ajax-item\">\n\t<div class=\"ajax-item-border\">\n
       \t\n  \t\t        <a href=\"http:\/\/localhost:8888\/pjse\/wp\/our-events\/neon-christmas-party\/
    \" title=\"Neon Christmas Party\">\n            <img width=\"1000\" height=\"667\" src=\"http:\/\/localhost
    :8888\/pjse\/wp\/wp-content\/uploads\/2016\/04\/neon-xmas1.jpg\" class=\"attachment-large size-large
     wp-post-image\" alt=\"neon-xmas1\" srcset=\"http:\/\/localhost:8888\/pjse\/wp\/wp-content\/uploads\
    /2016\/04\/neon-xmas1-300x200.jpg 300w, http:\/\/localhost:8888\/pjse\/wp\/wp-content\/uploads\/2016
    \/04\/neon-xmas1-768x512.jpg 768w, http:\/\/localhost:8888\/pjse\/wp\/wp-content\/uploads\/2016\/04\
    /neon-xmas1.jpg 1000w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/>        <\/a>\n   \t\t\n\t\t<h3
    >\n    \t\t<a href=\"http:\/\/localhost:8888\/pjse\/wp\/our-events\/neon-christmas-party\/\" title=\"Neon
     Christmas Party\">\n   \t\t\tNeon Christmas Party   \t\t\t<\/a>\n\t\t<\/h3>\n\n\t\t\t\t<p class=\"portfolio-cat
     celebrations\">\n      \t\t<a href=\"http:\/\/localhost:8888\/pjse\/wp\/portfolio-category\/celebrations
    \">\n      \t\t\tCelebrations     \t\t <\/a>\n\t\t<\/p>\n\n\t\t<p>A\u00a0special client Christmas party
    , held at the Melbourne Museum,\u00a0which featured a spectacular laser show and DJs \u2013 The Benevolent
     Dictators.<\/p>\n\t<\/div>\n<\/div><div class=\"col-sm-6 col-md-6 col-lg-4 ajax-item\" class=\"no-img
    \">\n\t<div class=\"ajax-item-border\">\n    \t\n  \t\t\n\t\t<h3>\n    \t\t<a href=\"http:\/\/localhost
    :8888\/pjse\/wp\/our-events\/test-portfolio-item\/\" title=\"Test Portfolio Item\">\n   \t\t\tTest Portfolio
     Item   \t\t\t<\/a>\n\t\t<\/h3>\n\n\t\t\t\t<p class=\"portfolio-cat sporting-events\">\n      \t\t<a
     href=\"http:\/\/localhost:8888\/pjse\/wp\/portfolio-category\/sporting-events\">\n      \t\t\tSporting
     Events     \t\t <\/a>\n\t\t<\/p>\n\n\t\t<p>This is a test.<\/p>\n\t<\/div>\n<\/div>"}
    Plugin Author Darren Cooney

    (@dcooney)

    Ok thanks.
    Without being able to access the site I won’t be able to help I’m afraid.

    Thread Starter jakus

    (@jakus)

    Your update broke the plugin functionality and you won’t be able to help? I don’t understand..

    What if I provide a development link with the error replicated?

    Plugin Author Darren Cooney

    (@dcooney)

    That’s what I’m asking for.

    Thread Starter jakus

    (@jakus)

    OK so updating to the latest version of WordPress resolved the issue :S

    Weird! Any idea why?

    FYI I noticed your site is currently down.

    Thanks for your help along the way..

    Plugin Author Darren Cooney

    (@dcooney)

    That is weird – no idea why unless your old install had an issue.
    Glad it’s sorted out!

    Sites back up! for me anyways ??

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Latest Update jQuery Error’ is closed to new replies.