• Hi, I’m using the Ajax pagination to load the posts using this Rubik Theme, but recently i just realized that the posts are not loaded in production which i am not sure when it happened, but it working well on my local.

    I check the console this wp-admin/admin-ajax.php return 500 and cause this
    Fatal error: Uncaught Error: Non-static method rubik_block_6::render_modules() cannot be called statically in /home4/upstatio/public_html/theiconomics/wp-content/themes/rubik/library/core.php:1568 Stack trace: #0 /home4/upstatio/public_html/theiconomics/wp-includes/class-wp-hook.php(324): rubik_ajax_block_6(”) #1 /home4/upstatio/public_html/theiconomics/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #2 /home4/upstatio/public_html/theiconomics/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home4/upstatio/public_html/theiconomics/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_block_6’) #4 {main} thrown in?/home4/upstatio/public_html/theiconomics/wp-content/themes/rubik/library/core.php?on line?1568

    And this is the code on this core.php line 1568,
    $the_query = new WP_Query( $args );
    echo rubik_block_6::render_modules($the_query, $postIcon, $bk_ajax_c[$blockID][‘excerpt_length’]);


    is there any solution to this ? or should i update the theme?
    please i quite new to WordPress

Viewing 1 replies (of 1 total)
  • Alor Web

    (@jerrymayalor555)

    Hi?@henstrife777,

    Your website is using Rubik Theme.

    Since that is a commercial theme, we ask that you please go to their official support channel, so you can get support from the people who know it best:?

    Forum volunteers do not have access to commercial products, so they would not know why it is not working correctly. Other community members who may have faced your issue might be able to help you, but your best bet is your product’s developer. We encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way.

    All the best!

Viewing 1 replies (of 1 total)
  • The topic ‘Posts not loaded using ajax pagination’ is closed to new replies.