I migrated my site (www.dougsguides.com) from Network Solutions to Bluehost last weekend. The migration went smoothly except that I am seeing the following errors in the dblog whenever I navigate to the weblinks page:
Undefined offset: 1 in /home6/dougsgui/public_html/includes/menu.inc on line 578.
Undefined variable: order in /home6/dougsgui/public_html/sites/all/modules/weblinks/weblinks.module on line 1125.
Undefined property: stdClass::$parents in /home6/dougsgui/public_html/sites/all/modules/weblinks/weblinks.module on line 796.
Undefined index: path in /home6/dougsgui/public_html/sites/all/modules/weblinks/weblinks.module on line 92.
The page opens fine, however, and no errors on the page are visible. (There are similar errors in the imagefield_widget.inc and fieldgroup.module). NS was running php v. 5.3.8 and BH is running v 5.2.17. The BH site is running Drupal 6.25. I have searched support for similar errors and found nothing. Is this caused by the downgrade in php? Any remedy?
Comments
Comment #1
nancydruI normally develop on 5.2.11, so I don't think it's a PHP issue.
The first and last look like problems with the menu module. The other two really don't match my code.
My first suggestion is to run update.php and see if there are some pending updates. Then clear the caches at least once.
Comment #2
dkalish commentedThanks for the suggestions. I disabled and re-enabled Weblinks module, ran update.php (there were no updates) and cleared the caches 3x. Still have exactly the same problem.
Comment #3
dkalish commentedBTW, Nancy, I'm puzzled by your comment "..the other two don't really match my code.". Here's what I see in (line number) of weblink.module where the errors are reported:
(796) if ($term->parents[0] != 0) {
(1125) $order .= 'ORDER BY n.sticky DESC, n.title ASC';
Comment #4
dkalish commentedOK, just revisited the weblinks module page and by my reading 6.x-2.4 seems to be deprecated. But I can't find 6.x-2.3. Which versions should I be running?
Comment #5
nancydruPlease run the latest -dev. Yes, 2.4 had some serious issues. See #1363410: 6.x-2.4 update is really a downgrade to 6.x-1.x branch (advice: Revert to 6.x-2.3) for more details.
I do see that some occurrences of $order are incorrectly being appended. I can fix that.
If $term->parents is undefined, then the Taxonomy module has an issue, and I would think many people would have reported that.
Comment #6
dkalish commentedThe latest release solves the 'undefined order' problem but the others remain.
Comment #7
nancydruPlease try the 6.x-2.5 version.