Closed (won't fix)
Project:
Drupal core
Version:
5.21
Component:
base system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2009 at 03:57 UTC
Updated:
24 Jun 2011 at 18:51 UTC
One of the users for our site created a new page, but when I went to view the page. I'm use drupal 5.16
Comments
Comment #1
windstray commentedi have the same error...
Comment #2
windstray commentedi guess this problem in Dhtml menu. uncheck 'display in context' in Dhtml menu settings
Comment #3
freatida commentedI get this error when trying to view an unpublished node. I can view published nodes without problems. However, if I try and publish an unpublished node, and then view it I still get the error. My nodes are published and unpublished using the nodeexpire module.
This all happened after manually running cron.php and re-indexing the site.
I don't use dhtml menu.
Comment #4
AjK commentedI fixed this by changing line 356
FROM:
TO:
I'll have a look why this happens and submit a patch if I find a good reason why PHP doesn't like the original line.
Comment #5
AjK commentedJust upgraded to Drupal 5.20 and this came back to bite me. Hmm.
Comment #6
bseybolt commentedAfter upgrading to 5.20, tried changing 356. Didn't work.
Comment #7
skelly commentedSome more clues:
This happened to me after I enabled an additional content type for one of my taxonomy vocabs then edited a node of that particular content type and saved it.
A bit of trace code revealed that the temporary "$item" array in the foreach loop in question was picking up an unstructured entry (i.e. just a string value, not an array) which caused the |= to fall over.
I.E., The output from by debug at line 337:
was (cleaned up):
Clearing my menu cache solved the problem.
Modules that might be involved that I'm using are audio, ecommerce, taxonomy_menu, nice_menus and tac_lite.
I've not been able to reproduce it since clearing my cache_menu table but if I manage to find a reproducable instance I'll re-post.
For now maybe that will give someone a clue?
Comment #8
kendre_paresh commentedI have found the cause,
This problem occurs, if you have activated any custom module(s) for Menu.
Keep single module activated at a time.
Comment #9
dpearcefl commentedConsidering the lack of activity on this issue and that Drupal v5 is no longer supported by fixes or patches, I am going to close this ticket. If this issue still exists and you want to continue to ask for technical support, please reopen and update this ticket.