• I got error when I tried to set ajax=”false” on shortcode:

    PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method RSS_Retriever_Feed::return_1() cannot be called statically in F:\inetpub\wwwroot\DevCAES\wp-includes\class-wp-hook.php:309

    It’s working fine with PHP 7.4 but not PHP 8. I tried to remove ajax then I see loading gif and nothing upload feed information there.

    In case, I used this shortcode:
    [wp_rss_retriever url=”siteurl” items=”20″ excerpt=”0″ credits=”false” thumbnail=”100%x250″ cache=”12 hours” ajax=”false”]

  • The topic ‘PHP 8 error if set ajax=false’ is closed to new replies.