• Hello, I have been wrestling with this error for months now and persists, hoping someone can help. I can provide more info if necessary.
    I’ve reinstalled wordpress 6.2.2 and theme but the error returns.
    running PHP v8.1

    Getting an error in my root level wordpress log:
    (shows up in groups of 6 if that is any significance)

    [04-Jul-2023 12:36:14 UTC] PHP Warning: Attempt to read property “query_var” on bool in /home/xxx/xxx/xxx/wp-includes/taxonomy.php on line 4589
    [04-Jul-2023 12:36:14 UTC] PHP Warning: Attempt to read property “query_var” on bool in /home/xxx/xxx/xxx/wp-includes/taxonomy.php on line 4589
    [04-Jul-2023 12:36:14 UTC] PHP Warning: Attempt to read property “query_var” on bool in /home/xxx/xxx/xxx/wp-includes/taxonomy.php on line 4589
    [04-Jul-2023 12:36:14 UTC] PHP Warning: Attempt to read property “query_var” on bool in /home/xxx/xxx/xxx/wp-includes/taxonomy.php on line 4589
    [04-Jul-2023 12:36:14 UTC] PHP Warning: Attempt to read property “query_var” on bool in /home/xxx/xxx/xxx/wp-includes/taxonomy.php on line 4589
    [04-Jul-2023 12:36:14 UTC] PHP Warning: Attempt to read property “query_var” on bool in /home/xxx/xxx/xxx/wp-includes/taxonomy.php on line 4589
    [05-Jul-2023 03:36:45 UTC] PHP Warning: Attempt to read property “query_var” on bool in /home/xxx/xxx/xxx/wp-includes/taxonomy.php on line 4589
    [05-Jul-2023 03:36:45 UTC] PHP Warning: Attempt to read property “query_var” on bool in /home/xxx/xxx/xxx/wp-includes/taxonomy.php on line 4589
    [05-Jul-2023 03:36:45 UTC] PHP Warning: Attempt to read property “query_var” on bool in /home/xxx/xxx/xxx/wp-includes/taxonomy.php on line 4589
    [05-Jul-2023 03:36:45 UTC] PHP Warning: Attempt to read property “query_var” on bool in /home/xxx/xxx/xxx/wp-includes/taxonomy.php on line 4589
    [05-Jul-2023 03:36:45 UTC] PHP Warning: Attempt to read property “query_var” on bool in /home/xxx/xxx/xxx/wp-includes/taxonomy.php on line 4589
    [05-Jul-2023 03:36:45 UTC] PHP Warning: Attempt to read property “query_var” on bool in /home/xxx/xxx/xxx/wp-includes/taxonomy.php on line 4589

    • This topic was modified 1 year, 4 months ago by dopple32r.
    • This topic was modified 1 year, 4 months ago by dopple32r.
Viewing 3 replies - 1 through 3 (of 3 total)
  • did some of your plugin or theme require php 8.1? If not, try change to php 7.4

    Thread Starter dopple32r

    (@dopple32r)

    7.4 is unsupported so I’m hesitant to go that route due to potential security vulnerabilities.

    Moderator James Huff

    (@macmanx)

    This problem may be a plugin or theme conflict. Please attempt to deactivate all plugins and switch to the default Twenty Twenty-Two theme. If the problem goes away, re-activate them one by one to identify the source of the problem.

    If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to deactivate all plugins and change the theme for you while you’re still logged in without affecting normal visitors to your site.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Warning ongoing – wp-includes/taxonomy.php on line 4589’ is closed to new replies.