• Just testing new version Neve 3.1.5 in WP 5.9.
    There are a couple of php errors.
    Here are the steps to reproduce

    1. newly installed WP/Reset a WP
    2. install and activate Neve theme
    3. go to customizer

    The PHP warning will not output to the screen nor WP debug file. I just check it out on the php log file.
    Because it is being displayed in data (non-visible area).
    Total 42 same errors

Viewing 6 replies - 1 through 6 (of 6 total)
  • Mat

    (@mateithemeisle)

    Hello @simongcc ,

    Thank you for using Neve and for reaching out!

    Can you please let us know the exact warning you are getting to see if we can replicate the same behavior?

    I did perform the steps above and got an array to string conversion warning in the formatting.php file. Are your warnings the same?

    If yes, then you shouldn’t worry about them as they will not impact the correct functioning of the theme, however, I will report the findings to our development team to fix them in future releases.

    Thank you and I’ll await your response!

    dimal

    (@dimalifragis)

    [22-Mar-2022 01:55:13 UTC] PHP Notice: Array to string conversion in /home/wp-includes/formatting.php on line 1098

    Most probably somewhere in the customizer.

    Hi @dimalifragis!

    Please tell us which version of PHP you are using.

    Thank you!

    dimal

    (@dimalifragis)

    WP 5.9.2 and PHP 7.4.x latest available.

    Hi @dimalifragis!

    Unfortunately I don’t get this warning on my test instances with PHP 7.4 and WordPress 5.9.2. PHP Notices are non-critical errors, they are for information only and they do not affect any functionality of the theme.

    You can hide notices using the wp-config.php file, you can check this article for reference.

    If you would like to troubleshoot further you can do the following:
    1. Make sure that you are using the latest version of Neve.
    2. Disable all plugins and see if the same warnings comes up.
    3. Switch to a different theme and check if the issue persists (preferrably themes like Twenty Twenty or Twenty Twenty One).

    I hope this helps!

    Have a nice day!

    Thread Starter 西門 正 Code Guy

    (@simongcc)

    @mateithemeisle Yes, you are right.
    Sorry for missing the reply.

    Thanks for your time in handling this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Report: WP 5.9 + Neve 3.1.5 PHP Notice Array to string conversion’ is closed to new replies.