I am seeing this error when I run the "drush cron" command after installation:

Error: Unsupported operand types in /Volumes/customer-site/html/includes/common.inc, line
2315
<div class="field field-name-menu-link field-type-menu-link field-label-hidden">
        <div class="field-item even">

The good news is that it otherwise works, that is, no user-facing errors. Thanks for writing this module.

Comments

Screenack’s picture

Priority: Normal » Critical

I was wrong. I am getting a user-facing error, though in a unique way:

After the close of the page the page "starts over" again, with this interesting nesting:

<div class="field field-name-menu-link field-type-menu-link field-label-hidden">
        <div class="field-item even"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

with the balance of the code repeating. I've updated the priority to "critical" as in, "it's broken."

Sigh. And, I can not disable the module now. Says it's a required extension.

casey’s picture

I split the module in two, which should fix the disabling problem.

Not sure about your initial issue. I don't use drush and the error message isn't telling me too much. Does it still exist with latest version?

Screenack’s picture

The split does address the module disabling issue, I now see was reported elsewhere.

I am no longer seeing the issue I reported in #1 (which is independent of whether one uses drush) To try the new release, I did the following:

  1. Disable menu_link
  2. "Uninstalled" the old table
  3. Enabled the new split "Menu Link" and "Menu Link Node" modules (I can enable both concurrently, don't know if that's relevant)
  4. Went to views, now I don't see "menu_link" as I did previously

I read the README.txt and now it seems I have to add the menu link as a content type widget. Fair enough, but all existing menu links are also wiped out in the process. Adding the menu link field then showed the menu link info previously entered as missing. But perhaps I'm performing these steps out of order? My original purpose in checking this module out was to incorporate menu link and menu link titles in a view. Maybe I misunderstand the purpose of this module?

s_leu’s picture

Status: Active » Closed (fixed)

There wasn't any new request and the views integration is working as expected so closing. Reopen if problem is still present.