I get an error with the following code in a node:

$term = taxonomy_get_term_by_name('Action Profile');
print faq_page($term->tid, 'questions_inline', 'categories_inline');

The output on the page is correct, but I still get the following error:

Notice: Trying to get property of non-object in eval() (line 3 of /home1/nicknigr/public_html/site/modules/php/php.module(80) : eval()'d code).

CommentFileSizeAuthor
#1 Error.png251.39 KBRohit_Rajput

Comments

Rohit_Rajput’s picture

Priority: Normal » Major
Issue summary: View changes
Issue tags: +7.x-3.0-dev, +eval, +#entity #views
StatusFileSize
new251.39 KB

Notice: Trying to get property of non-object in eval() (line 2 of /home/projectname/public_html/modules/php/php.module(80) : eval()'d code).

I'm using views the output on the page is correct, but I still get the following error: