Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1354312
    lexidev
    Participant

    I’ve moved the search icon from the menu bar into the top bar. It worked in the development phase but now on the live site produces an error:
    Notice: Trying to get property of non-object in /home/web/hrjweb/hrjconsulting.com/wp-content/themes/x/framework/functions/global/helper.php on line 176

    Upon further investigation, this error only appears when the word “type” is used. In searches like
    Investment types
    Application Types
    Types of grants

    If you search for grants, or application, or investment, the search produces no error!

    Please advise how I can fix this. Kind of urgent. http://www.hrjconsulting.com/ Thanks.

    #1354711
    Rupok
    Member

    Hi there,

    Thanks for writing in! This is just a notice and should be gone if you disable WP_DEBUG mode.

    You can do this by opening wp-config.php and updating :

    define( 'WP_DEBUG' , true );

    to

    define('WP_DEBUG', false);

    Hope this helps.

    Cheers!

    #1357392
    lexidev
    Participant

    Thank you. Applied your suggestion and the notice disappeared.

    #1357638
    Prasant Rai
    Moderator

    You are most welcome. 🙂

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