Tagged: x
-
AuthorPosts
-
February 1, 2017 at 3:58 pm #1354312
lexidevParticipantI’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 176Upon further investigation, this error only appears when the word “type” is used. In searches like
Investment types
Application Types
Types of grantsIf 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.
February 1, 2017 at 10:07 pm #1354711
RupokMemberHi 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.phpand updating :define( 'WP_DEBUG' , true );to
define('WP_DEBUG', false);Hope this helps.
Cheers!
February 3, 2017 at 6:39 pm #1357392
lexidevParticipantThank you. Applied your suggestion and the notice disappeared.
February 3, 2017 at 11:10 pm #1357638
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1354312 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
