• After upgrading to verson 6.3, the following notice start showing up in our debug.log

    [09-Aug-2023 00:18:28 UTC] PHP Deprecated: Function WP_Scripts::print_inline_script is deprecated since version 6.3.0! Use WP_Scripts::get_inline_script_data() or WP_Scripts::get_inline_script_tag() instead. in /home/xxxxxx.org/public_html/wp-includes/functions.php on line 5453

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    thank you for sharing your findings.

    In this case your findings are deprecation notices:

    Deprecation notices are used to inform plugin developers that specific functions will not be available anymore in the future.

    You as a user do not have to worry about it unless you have unmaintained plugins installed.

    You could turn on debug_display in order to get a more specific error message, then you need to visit your pages when debug_display is turned on and you will find a more detailed error message.

    Then post the more detailed error message here. We can then find out what plugin causes this and wether you need to get rid of the plugin or not.

    @tonygao I was getting same notice. Simply update your WooCommerce to the latest version 8.0.0 and it will go away.

    Thread Starter tonygao

    (@tonygao)

    ?? Thanks everyone! Now seems the problem solved!

    • This reply was modified 1 year, 3 months ago by tonygao.

    Hi,

    I think I have this same problem, I upgraded yesterday now I am getting this on my front home page, can anyone help me get this fixed? my site is logonforlogs.com

    Deprecated: Function WP_Scripts::print_inline_script is deprecated since version 6.3.0! Use WP_Scripts::get_inline_script_data() or WP_Scripts::get_inline_script_tag() instead. in /home/logonforlogs/public_html/wp-includes/functions.php on line 5453

    @trevortr70 just update your woocommerce. It worked for me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Deprecated notice in debug.log’ is closed to new replies.