Support » Plugin: Connections Business Directory » Error message: Deprecated: cnOptions::getDefaultAddressValues is deprecated sinc

  • Resolved Sumukha

    (@sumukha)


    Hello,
    I am having an error message:
    Deprecated: cnOptions::getDefaultAddressValues is deprecated since version 9.11!
    Use cnOptions::getAddressTypeOptions() instead. in /home/…./public_html/wp-includes/functions.php on line 4777.

    Running WP 5.53 with php 7.3, latest version of plugin and premium template.

    Have googled around, but cnnot find a solution.

    Appreciate your help.

    Thanks!

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Sumukha

    (@sumukha)

    I have now disabled the debug settings in the config file, so it won’t show on the site anymore. Still wondering….

    Thanks!

    Plugin Author Steven

    (@shazahm1hotmailcom)

    This is not an error message. They are developer debug messages. Developers will add these their code to aid in tracking down uses of deprecated code so their usage can be removed from the code. Running a live site with debug mode on is not recommended because there is a slight performance penalty. You can run your site in debug mode if you wish, but it is highly recommended to output the debug messages to the log file instead.

    I hope this helps, let me know.

    Thread Starter Sumukha

    (@sumukha)

    Thanks, Steven!

    Thread Starter Sumukha

    (@sumukha)

    Steven, how long will these messages show? Other than not logging, any way to switch them off?

    Thanks

    Plugin Author Steven

    (@shazahm1hotmailcom)

    RE: any way to switch them off?

    The best way is to turn off WP debugging. This is off by default on WordPress. Here’s the link to the instructions to turn it off:

    I hope this helps! Let me know.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error message: Deprecated: cnOptions::getDefaultAddressValues is deprecated sinc’ is closed to new replies.