• Resolved dsbking

    (@dsbking)


    After updating all of my sites to the latest version of your plugin, every single one of them is showing the following under the plugin settings:

    API Service Communication — Disabled — Service API URL not set. To enable the API service, add your API service URL as the SUCURISCAN_API_URL constant value to the main configuration file (wp-config.php).

    I’m also getting critical errors as follows:

    Message: Uncaught Error: Undefined constant “SUCURISCAN_API_URL” in /home/website/public_html/wp-content/plugins/sucuri-scanner/src/api.lib.php:232

    All of my websites have their wp-config files one level up from public_html for security reasons so I wonder if this is causing a problem with your latest update?

    As it stands right now, I can’t get your API working which has never been a problem before.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Here is solution that worked for me: (put in config.php)

    define('SUCURISCAN_API_URL','wafx.sucuri.net/api?k=[APIkey]&s=[domain_secret]');

    All of our websites are also now displaying this error in their error logs.

    Message:?Uncaught Error: Undefined constant “SUCURISCAN_API_URL” in /home/website/public_html/wp-content/plugins/sucuri-scanner/src/api.lib.php:232

    I suspect it is due to “Removed wordpress.sucuri.net API dependency” in v 1.8.37 https://www.ads-software.com/plugins/sucuri-scanner/#developers

    our friends here are removing all replies on here demanding an update and confirming the issue is effecting a large amount of sites. Everything I’m seeing points to a very easy fix they can roll out but it seems it is more important to make sure negative comments are removed from these forums instead of making the plugin useable again

    Hopefully they will release an update to fix this.

    We have been using this plugin for 8 years and have never had any problems

    Same problem.

    Thread Starter dsbking

    (@dsbking)

    Any update on this at all? I can see from others that a lot of people are reporting this and personally, I don’t want to have to update dozens of config.py files to work around an issue you’ve introduced in your plugin.

    Thanks.

    I’m not with the Sucuri team, but I do work at GoDaddy and escalated this matter.

    Same issue for me on several sites. Any fix planned?
    Without altering the config file that MFA mentioned above.

    Same issue here!

    Plugin Support sucuri1

    (@sucuri1)

    @dsbking Thank you for making us aware of the issue. I have taken the issue to the development team and is currently under review with an internal ticket number (10485). Once the issue has been fixed I will issue an update.

    @dsbking , @sucuri1

    I’m having the same issue. It used to be dead easy to do this.
    I wonder whether they’re just trying to sell their premium service by breaking the free one?
    3 Months after and still nothing?

    Not quite sure how this topic can be marked ‘resolved’?

    • This reply was modified 1 year, 7 months ago by ozbassplayer.
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Uncaught Error: Undefined constant “SUCURISCAN_API_URL”’ is closed to new replies.