Title: Problem WP 6.0
Last modified: July 1, 2022

---

# Problem WP 6.0

 *  Resolved [davideati](https://wordpress.org/support/users/davideati/)
 * (@davideati)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/problem-wp-6-0/)
 * Good morning,
    Our site currently in production ([https://www.atimorganti.it/](https://www.atimorganti.it/))
   works regularly, we have changed hosting and we are running tests to update WP
   and Plugins.
 *  Our Test environment is [https://test.atimorganti.it](https://test.atimorganti.it),
   when we moved the site everything went well, but after updating the WP version
   from 4.7.10 to 6.0 some pages are not reachable, if I try accessing the toolset
   plugin menu presents me with the following message “A critical error has occurred
   on your website. Check the site administrator’s inbox for instructions.”
    but
   the mail does not arrive.
 *  I have enabled debugging on wp:
 *     ```
       [01-Jul-2022 09:36:58 UTC] PHP Deprecated:  The each() function is deprecated. This message will be suppressed on further calls in /home/vc4y0518/public_html/wp-content/plugins/sitepress-multilingual-cms/lib/dqml2tree.php on line 475
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Undefined variable: id in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 498
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Undefined variable: id in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 501
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Undefined variable: id in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 518
       [01-Jul-2022 09:36:58 UTC] PHP Notice:  Undefined variable: id in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 522
       [01-Jul-2022 09:37:00 UTC] PHP Deprecated:  The each() function is deprecated. This message will be suppressed on further calls in /home/vc4y0518/public_html/wp-content/plugins/sitepress-multilingual-cms/lib/dqml2tree.php on line 475
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 671
       [01-Jul-2022 09:37:01 UTC] PHP Notice:  Trying to get property 'rewrite' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 672
       [01-Jul-2022 09:37:05 UTC] PHP Deprecated:  The each() function is deprecated. This message will be suppressed on further calls in /home/vc4y0518/public_html/wp-content/plugins/sitepress-multilingual-cms/lib/dqml2tree.php on line 475
       [01-Jul-2022 09:37:05 UTC] PHP Notice:  La funzione wpdb::prepare è stata richiamata <strong>in maniera scorretta</strong>. La query non contiene il numero corretto di segnaposti (2) in relazione al numero di argomenti trasmessi (3). Leggi <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> per maggiori informazioni. (Questo messaggio è stato aggiunto nella versione 4.8.3.) in /home/vc4y0518/public_html/wp-includes/functions.php on line 5831
       [01-Jul-2022 09:37:05 UTC] PHP Notice:  Undefined offset: 0 in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 314
       [01-Jul-2022 09:37:05 UTC] PHP Notice:  Trying to get property 'post_date_gmt' of non-object in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 314
       [01-Jul-2022 09:37:05 UTC] PHP Warning:  Creating default object from empty value in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 315
       [01-Jul-2022 09:37:05 UTC] PHP Notice:  Undefined property: stdClass::$ID in /home/vc4y0518/public_html/wp-content/plugins/types/library/toolset/types/embedded/classes/loader.php on line 91
       [01-Jul-2022 09:37:05 UTC] PHP Notice:  Undefined property: stdClass::$ID in /home/vc4y0518/public_html/wp-content/plugins/types/library/toolset/types/embedded/classes/loader.php on line 94
       [01-Jul-2022 09:37:05 UTC] PHP Notice:  Undefined property: stdClass::$ID in /home/vc4y0518/public_html/wp-content/plugins/types/library/toolset/types/embedded/classes/loader.php on line 95
       [01-Jul-2022 09:37:05 UTC] PHP Notice:  Undefined offset: 0 in /home/vc4y0518/public_html/wp-content/themes/ati/functions.php on line 314
       ```
   
 * Can you help me?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-wp-6-0%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Samuel O.](https://wordpress.org/support/users/wpcoworker/)
 * (@wpcoworker)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/problem-wp-6-0/#post-15788975)
 * Moving from 4.7 to 6.0 is a big change. You are doing a major update and it looks
   like the theme code is not compatible with latest WordPress or some other 3rd
   party plugin.
 * I suggest updating step by step so that you can figure out where its breaking.
   You can also try commenting out particular line of code (highlighted in error
   log) or function and see if that helps to access the staging website backend.

Viewing 1 replies (of 1 total)

The topic ‘Problem WP 6.0’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Samuel O.](https://wordpress.org/support/users/wpcoworker/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/problem-wp-6-0/#post-15788975)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
