Notice: Undefined variable: nodes in /home2/public_html/sites/all/modules/relevant_content/relevant_content.module on line 368

Notice: Undefined variable: header in /home2/public_html/sites/all/modules/relevant_content/relevant_content.module on line 368

Comments

nicholasthompson’s picture

Will investigate... Likely a PHP E_ALL error... Thanks!

nicholasthompson’s picture

Status: Active » Postponed (maintainer needs more info)

When does this appear?

nicholasthompson’s picture

Ah - you might need to remove and re-add the block due to array configuration changes which aren't handled by any update hooks (my mistake for not adding any, but I dont have any data to play with... Will have to do this in 1.3...)

Flying Drupalist’s picture

Hi, sorry I can't tell you where I'm getting this exactly. I've seen it on a number of pages, nodes, admin, and sometimes I dont' see it. I only see the error after turning on

php_flag display_errors on
php_value error_reporting 2047

and not otherwise. But I'm glad to hear that you've identified the problem. I hope the fix comes out soon.

nicholasthompson’s picture

I cannot replicate this on my system. Its possible there is an issue with the upgrade path being broken...

You probably need to just delete the block and add it back again.

Flying Drupalist’s picture

Hi, deleting the block and adding it again doesn't help. I updated the module and the error is now this:

Notice: Undefined variable: nodes in /home2/public_html/sites/all/modules/relevant_content/relevant_content.module on line 409

Notice: Undefined variable: header in /home2/public_html/sites/all/modules/relevant_content/relevant_content.module on line 409

I don't see the error unless I WSOD for unrelated reasons, then the error is part of my logs, otherwise the error isn't visible. I'm not overly bothered by this but I just thought that you should know.

nicholasthompson’s picture

Title: Some error » Undefined variable on line 409

Humm... This is very odd! I cannot replicate this....

Could you give me a little more info about your server setup please - maybe this hold a key... Any other relevant modules (no pun intended!)?

Flying Drupalist’s picture

Hi, thanks for your help. I'm using:

I'm using:
Apache 1.3.41 Linux
PHP 5.2.6
MySQLi 4.1.22
Drupal 6.6

Not sure what other relevant modules I have. I used to have similar by terms but I had deleted that in preference for this one.

nicholasthompson’s picture

Version: 6.x-1.2 » 6.x-1.4

Is this error still present in 6.x-1.4?