• Resolved Le dahu

    (@dahuconcept)


    In the page above I get the message Deprecated: function is_staging_site is deprecated in version 3.3.0! Use instead in_safe_mode. In /home/sessuali/registronazionale.it/wp-includes/functions.php on line XXXX

    This error message appears every two seconds, making the .log file completely unreadable.

    There have already been topics reporting this problem, and the support team simply closed the ticket after asking not to use the DEBUG function (in short, move on, there’s nothing to see).

    Except that in real life, we need the DEBUG function, the log file, and Jetpack has an obsolete message that it doesn’t seem to take care of.

    Thank you in advance for not inviting me to deactivate DEBUG and take this error message into account.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Animesh Gaurav (a11n)

    (@bizanimesh)

    Hello there – By setting?WP_DEBUG?to?FALSE?in the?wp-config.php?file can remove this message but since you don’t want to do it, we are discussing what other option you/we can apply.

    We will get back once we reach to some conclusion.

    Plugin Support Animesh Gaurav (a11n)

    (@bizanimesh)

    Hello there – the deprecation notice you’re seeing is generated by Jetpack when another plugin or your theme uses a deprecated function. So the issue is not from Jetpack but from your another plugin/theme that is still using the is_staging_site function. We’ve deprecated this function intentionally and provided an alternative (in_safe_mode) in the deprecation notice. It’s essential that the function is no longer used, and the code should be updated accordingly.

    To identify the source of the issue, you might need to check your theme’s functions.php file or other plugins on your site. Sometimes, this requires disabling plugins (except Jetpack) one by one to pinpoint the plugin causing the issue or temporarily switch to another theme to check if the deprecation notice is still there.

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi there, @dahuconcept,

    Do you have updates about that, do you still need help? We usually close inactive threads after one week of no movement, but we want to make sure we’re all set before marking it as solved. Thanks!

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