• Resolved simplehobbit

    (@simplehobbit)


    I have been having issues when using the SiteGround Optimizer on my website. The aMember Pro Integration Plugin gives it this error and disables all the caching options after reloading the page:

    Could not Connect to WordPress REST API
    Either a security plugin, custom function or rules in your .htaccess file is preventing the WordPress REST API from working properly. SiteGround Optimizer is using it to store its options and other functionalities so please make sure it works properly.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Stoyan Georgiev

    (@stoyangeorgiev)

    Hey there @simplehobbit,

    The plugin you’ve mentioned is throwing a fatal error, which is causing the REST API to malfunction and not working properly. This is leading to it throwing 500 errors on requests made to the REST API.

    I would suggest checking with the aMember plugin support.

    Kind regards,
    Stoyan

    Thread Starter simplehobbit

    (@simplehobbit)

    I’ve chatted with aMemember and they said the following:

    I believe it is issue with  "SG Optimizer" plugin.
    They do action wp without argument WP:
    do_action( 'wp' );
    /public_html/wp-content/plugins/sg-cachepress/core/Front_End_Optimization/Front_End_Optimization.php(315)
    
    but argument (WP instance) is required according WP documentation:
    https://developer.ww.wp.xz.cn/reference/hooks/wp/
    
    aMember rely on this action and on its proper call.

    So, I assume this is some kind of bug in the plugin?

    Thanks.

    Plugin Author Stanimir Stoyanov

    (@sstoqnov)

    SiteGround Representative

    Hey @simplehobbit

    We will fix the issue in the next version.

    Regards,
    Stanimir

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

The topic ‘Compatibility Issues with aMember Pro Integration Plugin for WordPress Plugin’ is closed to new replies.