Notice: Object of class CommerceCouponType could not be converted to int in _menu_navigation_links_rebuild() (Zeile 2813 von /.../commerce/includes/menu.inc).

Drupal 7.14

The error occurs after installing or disabling modules.

Comments

quiptime’s picture

The error occurs after saving Entity translation settings.

pcambra’s picture

Status: Active » Postponed (maintainer needs more info)

The error occurs after installing or disabling modules.

The error occurs after saving Entity translation settings.

Please provide a step by step way to reproduce this error.

quiptime’s picture

What do you mean with step by step to reproduce?

At the moment, I cannot see a possibility to get help to reproduce the error.
My efforts to find a way for debugging find no starting point. I am a little perplexed.

The error is in my focus. Are there any new insights, I'll post it.

The error occurs after updating a content type.

pcambra’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Feel free to reopen the issue with a consistent way to reproduce this error.

hejazee’s picture

Priority: Normal » Major
Status: Closed (cannot reproduce) » Active

This error occurs when rebuilding the menu cache. (Clearing caches, installing modules, etc...)
I have tested it with PHP-5.3.8 and PHP-5.2.17
It may be related to hook_menu()

quiptime’s picture

It exist many other situations for the error. As example:

The error occurs after cache clearing (devels feature or via performace page).

quiptime’s picture

The error occurs only if the modules Commerce Coupon Fixed Amount AND the Commerce Coupon UI enabled.

pcambra’s picture

Status: Active » Closed (cannot reproduce)

I've asked in #2 how to reproduce this error, please when before reopening this issue, make sure to do a new local install and provide a way so I can reproduce the error.

I've got a number of installs of commerce coupon and none of them throw errors rebuilding menus, clearing cache, enabling or disabling modules or changing any UI of any type.

hejazee’s picture

I installed a fresh Drupal 7.14 on windows with php-5.3.8 (XAMPP)
And the following modules:

commerce_coupon-7.x-1.0-beta5
commerce-7.x-1.3
ctools-7.x-1.0
views-7.x-3.3
rules-7.x-2.1
entity-7.x-1.0-rc3
addressfield-7.x-1.0-beta3
entityreference-7.x-1.0-rc3

Then I enabled all the modules in the "Commerce" packgae and all dependencies
Then, I enabled "Commerce Coupon UI" and "Commerce Coupon" modules and all dependencies

There is no error!

Then I installed commerce_coupon_pct-7.x-1.x-dev (2012-May-26)
and
commerce_coupon_fixed_amount-7.x-1.x-dev (2012-May-26)

There is still no errors !!

But in some installations, this error appears.
It seems that this is an error of Drupal core