Support » Plugin: SiteGround Optimizer » Fatal error: Uncaught Error: Call to a member function using_index_permalinks()

  • Resolved ranababer

    (@ranababer)


    While trying to login to our wordpress website error related to SG-cachepress appears which is:

    Fatal error: Uncaught Error: Call to a member function using_index_permalinks() on null in /home/customer/www/karimt7.sg-host.com/public_html/wp-includes/rest-api.php:403 Stack trace: #0 /home/customer/www/karimt7.sg-host.com/public_html/wp-content/plugins/sg-cachepress/core/Supercacher/Supercacher.php(175): get_rest_url() #1 /home/customer/www/karimt7.sg-host.com/public_html/wp-content/plugins/sg-cachepress/core/Supercacher/Supercacher_Posts.php(31): SiteGround_Optimizer\Supercacher\Supercacher->purge_rest_cache() #2 /home/customer/www/karimt7.sg-host.com/public_html/wp-content/plugins/sg-cachepress/core/Supercacher/Supercacher_Posts.php(138): SiteGround_Optimizer\Supercacher\Supercacher_Posts->purge_post_cache(3097) #3 /home/customer/www/karimt7.sg-host.com/public_html/wp-includes/class-wp-hook.php(294): SiteGround_Optimizer\Supercacher\Supercacher_Posts->purge_all_post_cache(3097) #4 /home/customer/www/karimt7.sg-host.com/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #5 /home/custo in /home/customer/www/karimt7.sg-host.com/public_html/wp-includes/rest-api.php on line 403

    can someone please help me with this?
    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Stanimir Stoyanov

    (@sstoqnov)

    SiteGround Representative

    Hey @ranababer

    Would it be possible to provide your site URL, please?

    Regards,
    Stanimir

    Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    This error is not related to the SG Optimizer. Something is throwing errors in the WP REST API and causes this. You can see SGO because we use the API to operate too so it crashes. Please, contact a developer to get additional assistance on that matter.

    Thread Starter ranababer

    (@ranababer)

    @sstoqnov here’s my website url:
    https://virtualworkernow.com/wp-admin

    • This reply was modified 2 months, 3 weeks ago by ranababer.
    Thread Starter ranababer

    (@ranababer)

    @hristo-sg can you please elaborate it more? what kind of developer can help me with that? is it due to server response or we need to update api/plugin code – thanks for the help

    Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    It is a normal server responce to bad code. I believe there’s somehting with your redirection plugin but cant say more because I don’t have in-dept knowledge of your site structure.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.