Home Forums Community Forum Avada seems to be causing PHP errors in class-wp-query

Only users with a registered purchase of Avada can post to the community forum. Please register your purchase here.

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • orenphoto
    Participant
    Post count: 6

    I enabled PHP Error Logging to try to figure out an issue with a plugin and found repeated errors in the get property call.

    I disabled plugins one-by-one without the errors stopping. Finally, I switched to the 2015 theme and this error stopped.

    Has anyone seen this on their install?

    Any suggestions on a fix?

    I’ve purchased Avada for each of my three sites but allowed the support to lapse a few months ago so can’t submit a ticket…

    Thanks!

    E

    This pattern repeats every 7 minutes in my PHP Error log:
    Jun 06, 20:48:21
    PHP Notice: Trying to get property ‘post_title’ of non-object in /home/wednesda/public_html/wp-includes/class-wp-query.php on line 3738
    Jun 06, 20:48:21
    PHP Notice: Trying to get property ‘post_name’ of non-object in /home/wednesda/public_html/wp-includes/class-wp-query.php on line 3740
    Ignore
    Jun 06, 20:48:22
    PHP Notice: Trying to get property ‘ID’ of non-object in /home/wednesda/public_html/wp-includes/class-wp-query.php on line 3736
    Jun 06, 20:48:22
    PHP Notice: Trying to get property ‘post_title’ of non-object in /home/wednesda/public_html/wp-includes/class-wp-query.php on line 3738
    Jun 06, 20:48:22
    PHP Notice: Trying to get property ‘post_name’ of non-object in /home/wednesda/public_html/wp-includes/class-wp-query.php on line 3740
    Jun 06, 20:48:22
    PHP Notice: Trying to get property ‘ID’ of non-object in /home/wednesda/public_html/wp-includes/class-wp-query.php on line 3736
    Jun 06, 20:48:22
    PHP Notice: Trying to get property ‘post_title’ of non-object in /home/wednesda/public_html/wp-includes/class-wp-query.php on line 3738
    Jun 06, 20:48:22
    PHP Notice: Trying to get property ‘post_name’ of non-object in /home/wednesda/public_html/wp-includes/class-wp-query.php on line 3740

    orenphoto
    Participant
    Post count: 6

    Sorry, hit Enter too soon
    WP 4.9.6
    PHP 7.2.6
    Avada 5.5.2 with fusion patches

    orenphoto
    Participant
    Post count: 6

    I decided to change my server PHP to 5.6 and that fixed the issue I had with one plugin. I am also now seeing the above error in class-wp-query being limited to line 3871:

    PHP Notice: Trying to get property of non-object in /home/wednesda/public_html/wp-includes/class-wp-query.php on line 3871

Viewing 3 posts - 1 through 3 (of 3 total)
Only users with a registered purchase of Avada can post to the community forum. Please register your purchase here.