• Resolved vincetries

    (@vincetries)


    Yesterday I bought the ‘Previous Post’ add-on. It seems to work really good, but on some posts the previous post doesn’t load. And I really don’t know why, because there’s no difference between the working posts and the posts where the plugin doesn’t load.

    For example. On this post the plugin works well:
    http://bit.ly/2qy7kp2

    On this post it doesn’t load:
    http://bit.ly/2qExGou

    This is the error given:
    Failed to load resource: the server responded with a status of 500 (Internal Server Error)

    Any idea how I can fix this? 🙂

    • This topic was modified 9 years, 1 month ago by vincetries.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi,
    For 500 errors you need to check your error log or enable errors to be displayed.

    error_reporting(E_ALL);
    ini_set('display_errors', 'On');

    You most likely have an undefined PHP function on this page causing the 500 error.

    Hope this helps,

    Thread Starter vincetries

    (@vincetries)

    Something like this?

    /wp-admin/admin-ajax.php?action=alm_query_posts&query_type=standard&nonce=6…flow.nl%2F81642%2Fdit-nieuwe-festival-vindt-plaats-in-disneyland-parijs%2F 
    
    Failed to load resource: the server responded with a status of 500 (Internal Server Error)
    
    ajax-load-more.min.js:93 Internal Server Error
    
    send	@	jquery.js:2
    ajax	@	jquery.js:2
    alm.AjaxLoadMore.ajax	@	ajax-load-more.min.js:55
    alm.AjaxLoadMore.loadPosts	@	ajax-load-more.min.js:48
    (anonymous)	@	ajax-load-more.min.js:99
    dispatch	@	jquery.js:1
    r.handle	@	jquery.js:1

    But I still have no clue what is giving the error.

    Plugin Author Darren Cooney

    (@dcooney)

    No sorry, Do you have an error_log on your server you can check?

    Add the following code to you repeater template?
    <?php
    error_reporting(E_ALL);
    ini_set(‘display_errors’, ‘On’);
    ?>

    Can you open a ticket on the website?
    https://connekthq.com/plugins/ajax-load-more/support/
    Thee forums are for free plugin support

    Thread Starter vincetries

    (@vincetries)

    Ofcourse! I will open a ticket.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘‘Previous Post’ doesn’t always work’ is closed to new replies.