Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1298048
    RLycheeX
    Participant

    Hi X support,

    I have this error “Notice: Trying to get property of non-object in /home4/tokoarug/public_html/wp-includes/nav-menu.php on line 754”. And there are some unexpected words in the right of nav-menu in a single post but not front page. See attached.
    The unexpected words seems the last part of the title of the single post.

    I am using Renew and my site is tokoaruga.com
    Wordpress 4.61
    X 4.6.4
    Cornerstone 1.3.3

    Here is the line 753 and 754 in nav-menu.php.
    /** This filter is documented in wp-includes/post-template.php */
    $original_title = apply_filters( ‘the_title’, $original_object->post_title, $original_object->ID );

    Any ideas?

    Thank you,
    Lee

    #1298057
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! PHP notices you can ignore by changing the following line as follows in your wp-config.php under the root of your WordPress installation.

    define('WP_DEBUG', false);

    To avoid such incompatibility issues, you can ask your hosting provider to update your PHP version to at least v5.6.0 or above.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1298048 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>