• Resolved Nathan24

    (@nathan24)


    Getting the following error message when the All In One SEO plugin is enabled:

    Got error 'PHP message: PHP Fatal error:  Uncaught Error: Call to a member function using_index_permalinks() on null in ./public_html/wp-includes/rest-api.php:403
    Stack trace:
    #0 ./public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Helpers.php(2286): get_rest_url()
    #1 ./public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Helpers.php(2302): AIOSEO\\Plugin\\Common\\Utils\\Helpers->isRestApiRequest()
    #2 ./public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Traits/Helpers/ECommerce.php(39): AIOSEO\\Plugin\\Common\\Utils\\Helpers->isAjaxCronRest()
    #3 ./public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Utils/Helpers.php(1583): AIOSEO\\Plugin\\Common\\Utils\\Helpers->isWooCommerceShopPage()
    #4 ./public_html/wp-content/plugins/all-in-one-seo-pack/app/Common/Social/Facebook.php(174): AI...PHP message: PHP Fatal error:  Uncaught Error: Call to a member function using_index_permalinks() on null in ./public_html/wp-includes/rest-api.php:403
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @nathan24,

    Thank you for reporting this.

    I have a few questions that will help me trace this down more quickly:

    1. Is your site inside a WordPress multisite installation by any chance?
    2. Where are you seeing this error exactly? Is it everywhere or on a specific page? Or did you simply see it in your log file?

    Thread Starter Nathan24

    (@nathan24)

    Thanks for your help!

    1. It’s a single-site WordPress
    2. I’m just seeing it in the log file. Haven’t been able to pinpoint where it’s showing up.

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @nathan24,

    Thank you for getting back to me. I’ve opened an issue so we can address this. In the meanwhile, I wouldn’t worry about this too much if you’re only seeing it in the log file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Call to a member function using_index_permalinks() on null’ is closed to new replies.