• Resolved Natalya

    (@nalitana)


    Hello! When I activated the theme, the following warnings were displayed:

    Notice: The src attribute of each web font must be a non-empty string. in /wp-includes/script-loader.php on line 3388
    Warning: Trying to access array offset on value of type bool in /wp-includes/script-loader.php on line 3454
    Warning: Undefined array key “font-family” in /wp-includes/script-loader.php on line 3592
    Warning: Undefined array key “font-family” in /wp-includes/script-loader.php on line 3610

    PHP version 8.2.5, WP 6.3

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator jordesign

    (@jordesign)

    Hi @nalitana – thanks for reporting that. It sounds like it may be something that needs to be reported with WordPress Core in Trac (the bug tracking system).

    But first there’s a couple of other things worth checking.

    • Do you see the same warning when activating the theme with other lower versions of PHP?
    • Do you see the same warning when activating the theme with all plugins disabled?
    Thread Starter Natalya

    (@nalitana)

    Hello! Unfortunately, I can’t change the PHP version, but I disabled all plugins, also used “Health Check & Troubleshooting” to make sure that these warnings occur when using the theme “TTT”.

    • This reply was modified 1 year, 6 months ago by Natalya.
    Moderator jordesign

    (@jordesign)

    And just to clarify @nalitana – did you see the warnings still in Troubleshooting mode?

    Thread Starter Natalya

    (@nalitana)

    Hello! Yes, that’s right, I see warnings both with manually disabled plugins and in troubleshooting mode.

    Moderator jordesign

    (@jordesign)

    Thanks for testing that out too @nalitana. Given that – I’d recommend reporting it with?WordPress Core in Trac?(the bug tracking system).

    Thread Starter Natalya

    (@nalitana)

    Hello! Sorry for taking so long to answer you. I was able to test the theme on a different version of PHP, but it didn’t solve my problem. I then downloaded the theme files from the WordPress site and manually replaced the theme.json file. And, hooray, that solved the problem with the warnings.

    Brilliant! Thank you for sharing your solution, @nalitana. I will mark this. thread as resolved ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Warnings PHP 8.2’ is closed to new replies.