• Resolved Becky

    (@artistnamedbec)


    All my plugins and wordpress are the latest and greatest. Noticed the other day that I am getting PHP deprecation errors in my wpforms-lite. I used the forms with elementor to create my contact page. Also, for some reason there are two email fields on my contact page that I did not put there. Any suggestions on how to correct this would be most appreciated.

    Below are the the error info. Thank you

    Message: Creation of dynamic property FS_Site::$charset is deprecated

    Location:

    1. wp-includes/functions.php:650
    2. WPForms\ErrorHandler->fallback_error_handler()
      wp-content/plugins/wpforms-lite/src/ErrorHandler.php:269
    3. WPForms\ErrorHandler->error_handler()
      wp-content/plugins/wpforms-lite/src/ErrorHandler.php:269
    4. WPForms\ErrorHandler->fallback_error_handler()
      wp-content/plugins/wpforms-lite/src/ErrorHandler.php:269
    5. WPForms\ErrorHandler->error_handler()
      wp-content/plugins/wpforms-lite/src/ErrorHandler.php:269
    6. unserialize()
      wp-includes/functions.php:650
    7. maybe_unserialize()
      wp-includes/option.php:247
    8. get_option()
      wp-content/plugins/ocean-extra/includes/freemius/includes/managers/class-fs-option-manager.php:173
    9. FS_Option_Manager->load()
      wp-content/plugins/ocean-extra/includes/freemius/includes/managers/class-fs-option-manager.php:98
    10. FS_Option_Manager->__construct()
      wp-content/plugins/ocean-extra/includes/freemius/includes/managers/class-fs-option-manager.php:134
    11. FS_Option_Manager::get_manager()
      wp-content/plugins/ocean-extra/includes/freemius/includes/class-fs-options.php:90
    12. FS_Options->__construct()
      wp-content/plugins/ocean-extra/includes/freemius/includes/class-fs-options.php:68
    13. FS_Options::instance()
      wp-content/plugins/ocean-extra/includes/freemius/includes/class-freemius.php:3431
    14. Freemius::_load_required_static()
      wp-content/plugins/ocean-extra/includes/freemius/includes/class-freemius.php:2849
    15. Freemius::instance()
      wp-content/plugins/ocean-extra/includes/freemius/start.php:615
    16. fs_dynamic_init()
      wp-content/themes/oceanwp/functions.php:1164
    17. owp_fs()
      wp-content/themes/oceanwp/functions.php:1192

    Count: 5

    Plugin: wpforms-liteTotal: 5 / 5

    • This topic was modified 1 year, 2 months ago by Becky.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @artistnamedbec,

    Thanks for reaching out!

    You mentioned that all your plugins and WordPress are up-to-date. That’s great!

    However, the errors you’re seeing seem to be originating from the Ocean Extra plugin (wp-content/plugins/ocean-extra/) and the OceanWP theme (wp-content/themes/oceanwp/). It appears WPForms’ error handler is catching these errors, even though they’re not directly related to WPForms itself.

    I recommend contacting the support team for the OceanWP theme and the Ocean Extra plugin. They’re the best resource for resolving errors within their own code. Providing them with the specific error messages you’re seeing will help them diagnose and fix the problem.

    If you’d like to temporarily disable WPForms’ error handler (which is catching and reporting these external errors), you can add the following constant to your wp-config.php file:

    define( 'WPFORMS_DISABLE_ERROR_HANDLER', true );

    This will prevent WPForms from reporting the deprecation errors. Here’s a helpful guide from WPBeginner on how to edit your wp-config.php file.

    If you have any additional questions, please feel welcome to let me know.

    Thanks!

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @artistnamedbec,

    We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

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

The topic ‘PHP Deprecation errors’ is closed to new replies.