• I’m getting the error below:

    ajax-load-more.min.js?ver=3.2.0:1 Uncaught TypeError: Cannot read property 'html' of null
        at Object.n.AjaxLoadMore.success (ajax-load-more.min.js?ver=3.2.0:1)
        at Object.success (ajax-load-more.min.js?ver=3.2.0:1)
        at i (jquery.js?ver=1.12.4:2)
        at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
        at y (jquery.js?ver=1.12.4:4)
        at XMLHttpRequest.c (jquery.js?ver=1.12.4:4)

    I’m using the latest version of ALM and ACF (and the ACF extension) using the Gallery field and for some reason it only happens when the Page that has the shortcode is set as the Home Page in WordPress. If the page is not set as the homepage, I don’t get the error and the grid works as expected. I’ve tried it with my theme and the default theme as well as a fresh install of WordPress with only ALM, ACF and the ACF Extension installed and still get the same problem in the same circumstances.

Viewing 1 replies (of 1 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    hi @wdixon,
    Good catch, i’m not getting an JS error but it’s not working when my homepage is set using Reading Settings.

    I’ll add this my list of fixes.
    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Error when using the shortcode on the homepage’ is closed to new replies.