• Resolved PramaWeb

    (@pramaweb)


    Critic Error WordPress 6.1.1 – Undefined constant “SUCURISCAN_API_URL”

    Hi, we have a new wordpress website, just created. The website has Divi (last version), WordPress 6.1.1, and Itheme (last version). No other plugins. When we installed Sucuri, we receive the email critical error of wordpress. I deleted the link of the error.

    “Dettagli dell’errore
    ====================
    Un errore di E_ERROR è stato causato nella linea 232 del file /web/htdocs/…………… Messaggio di errore: Uncaught Error: Undefined constant “SUCURISCAN_API_URL” in /web/htdocs/………….
    Stack trace:
    #0 /web/htdocs/………………..: SucuriScanAPI::apiCallWordpress()
    #1 /web/htdocs/………………..: SucuriScanAPI::registerSite()
    #2 /web/htdocs/………………..: sucuriscan_settings_general_apikey()
    #3 /web/htdocs/………………..: sucuriscan_settings_page()
    #4 /web/htdocs/………………..: WP_Hook->apply_filters()
    #5 /web/htdocs/………………..): WP_Hook->do_action()
    #6 /web/htdocs/………………..: do_action()
    #7 {main}
    ? thrown”

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi, I have the same issue on all of my websites

    API Service Communication

    SUCURI: The status of the API service could not be enabled because the required SUCURISCAN_API_URL configuration was not found.

    PHP Fatal error: Uncaught Error: Undefined constant “SUCURISCAN_API_URL” in /wp-content/plugins/sucuri-scanner/src/api.lib.php:232
    Stack trace:

    0 /wp-content/plugins/sucuri-scanner/src/api.lib.php(397): SucuriScanAPI::apiCallWordpress(‘GET’, Array)

    1 /wp-content/plugins/sucuri-scanner/src/auditlogs.lib.php(105): SucuriScanAPI::getAuditLogs(50)

    2 /wp-content/plugins/sucuri-scanner/src/pagehandler.php(199): SucuriScanAuditLogs::ajaxAuditLogs()

    3 /wp-includes/class-wp-hook.php(308): sucuriscan_ajax(”)

    4 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)

    5 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    6 /wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_sucuris…’)

    7 {main}

    thrown in /wp-content/plugins/sucuri-scanner/src/api.lib.php on line 232

    PLease inform me how to resolve this.

    Same problem.

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

    Thank you for updating the plugin to version 1.8.38

    The php errors are gone, but I have still the message:

    SUCURI:?The status of the API service could not be enabled because the required SUCURISCAN_API_URL configuration was not found.

    This is occurring on all my sites.

    Please inform me how to resolve this.

    Best regards,
    Staf

    Thread Starter PramaWeb

    (@pramaweb)

    Still not resolved.

    Please check this link: https://ibb.co/J7fBjjg

    Additional

    I’ve got the php fatal error:

    PHP Fatal error: Uncaught Error: Undefined constant “SUCURISCAN_API_URL” in /wp-content/plugins/sucuri-scanner/src/api.lib.php:232

    Plugin Support sucuri1

    (@sucuri1)

    @pramaweb We apologies for the delays. 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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Critic Error WordPress 6.1.1 – Undefined constant “SUCURISCAN_API_URL”’ is closed to new replies.