Viewing 4 replies - 1 through 4 (of 4 total)
  • Same problem here. Any solution?

    Pedro

    (@petredobrescu)

    Hey folks,

    Same issue here on several sites. From what I could see all those sites also have Disqus Commenting System and Akismet plugins active.

    Are you also having these plugins? I’m trying to narrow down the cause for this error as it doesn’t seem to be general.

    Thanks,
    Pedro

    Hi Pedro,

    I think I only had to update my worpdress, or it was a problem with some incopatibility with plugins. Try to update your wordpress and try to disable all plugins.

    Good luck!

    This worked for me

    Line 406:
    $post->post_date = sprintf( "%04d-%02d-%02d 00:00:00", get_query_var( 'year' ), get_query_var( 'monthnum' ), get_query_var( 'day' ) );

    Change to
    if (is_object( $post)){{$post->post_date = sprintf( "%04d-%02d-%02d 00:00:00", get_query_var( 'year' ), get_query_var( 'monthnum' ), get_query_var( 'day' ) ); }

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘php warning on php 5.4’ is closed to new replies.