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

nancydru’s picture

Status: Active » Postponed (maintainer needs more info)

I 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.

dkalish’s picture

Thanks 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.

dkalish’s picture

BTW, 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';

dkalish’s picture

OK, 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?

nancydru’s picture

Please 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.

dkalish’s picture

The latest release solves the 'undefined order' problem but the others remain.

nancydru’s picture

Please try the 6.x-2.5 version.