Hi there, I know your in dev.... but I thought it might help to have some feedback... and I wonder if there is a quick-fix can make....
I have muchomenu working on a localhost site. It worked out of the box but has always thrown the following error:
Notice: Use of undefined constant BLOCK_NO_CACHE - assumed 'BLOCK_NO_CACHE' in muchomenu_block_info() (line 127 of /Applications/MAMP/htdocs/---/sites/all/modules/muchomenu/includes/hooks.inc).
I also get this error which is either from mini-panels or it is related to the mucho menu error since the minipanel is in the mucho menu...
Trying to get property of non-object in panels_mini_block_info() (line 78 of /Applications/MAMP/htdocs/clients---/sites/all/modules/panels/panels_mini/panels_mini.module).
I decided to put the site up on the server and instead of the site loading I get a white screen. Its not a php memory issue, the memory is set to 512. On the server the site appears to load correctly except for the following error, I guess it may be related to the same muchomenu error I get on localhost (except on localhost the site works fine and on the server all I get is the white screen...
Notice: Undefined index: REMOTE_ADDR in /mnt/---/includes/bootstrap.inc on line 2597
Notice: Trying to get property of non-object in /mnt/---/modules/dblog/dblog.module on line 144
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'uid' cannot be null: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array
(
[:db_insert_placeholder_0] =>
[:db_insert_placeholder_1] => php
[:db_insert_placeholder_2] => %type: !message in %function (line %line of %file).
[:db_insert_placeholder_3] => a:6:{s:5:"%type";s:6:"Notice";s:8:"!message";s:29:"Undefined index: REMOTE_ADDR";s:9:"%function";s:12:"ip_address()";s:5:"%file";s:87:"/mnt/stor2-wc2-dfw1/439542/587333/www.pullanasia.com/web/content/includes/bootstrap.inc";s:5:"%line";i:2597;s:14:"severity_level";i:5;}
[:db_insert_placeholder_4] => 5
[:db_insert_placeholder_5] =>
[:db_insert_placeholder_6] => http:///index.php?index.php
[:db_insert_placeholder_7] =>
[:db_insert_placeholder_8] =>
[:db_insert_placeholder_9] => 1305347072
)
in dblog_watchdog() (line 155 of /mnt/---/web/content/modules/dblog/dblog.module).
Any advise? Is this useful?
Comments
Comment #1
aristeides commentedsame issue
Comment #2
jwilde commentedsame error here.
It looks as if the developer is too busy to respond. We'll have to figure this one out on our own. Please post your solutions.
Thanks,
Jim
Comment #3
sea4 commentedsame error here as well
Comment #4
sksmithson commentedSame here
Comment #5
mohhess commentedAny word on these issues? I'm getting this error as well as another one whenever I create/delete a mucho menu.
Comment #6
Christopher Riley commentedStarted playing with this module earlier today in Drupal 7 they changed if from BLOCK_NO_CACHE to DRUPAL_NO_CACHE
Comment #7
Vc Developer commentedSub!...
Comment #8
Vc Developer commented@6 Thanks!
Comment #9
santam commented@ 6 thanks that resolved the problem
Comment #10
aristeides commentedtrue, @6 solves this issue.
Open file /includes/hooks.inc and change line 127:
$blocks[$id]['cache'] = BLOCK_NO_CACHE;change it to
$blocks[$id]['cache'] = DRUPAL_NO_CACHE;marking as fixed.
It would be nice though if the module maintainer committed this change.
Comment #12
SunRhythms commentedThis patch worked here... *duplicate entry yet later for those that are still looking for resources*
http://drupal.org/node/1480366