Closed (cannot reproduce)
Project:
Commerce Coupon (D7)
Version:
7.x-1.0-beta5
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2012 at 21:34 UTC
Updated:
1 Jul 2012 at 17:54 UTC
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
Comment #1
quiptime commentedThe error occurs after saving Entity translation settings.
Comment #2
pcambraPlease provide a step by step way to reproduce this error.
Comment #3
quiptime commentedWhat 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.
Comment #4
pcambraFeel free to reopen the issue with a consistent way to reproduce this error.
Comment #5
hejazee commentedThis 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()
Comment #6
quiptime commentedIt exist many other situations for the error. As example:
The error occurs after cache clearing (devels feature or via performace page).
Comment #7
quiptime commentedThe error occurs only if the modules Commerce Coupon Fixed Amount AND the Commerce Coupon UI enabled.
Comment #8
pcambraI'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.
Comment #9
hejazee commentedI 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
Comment #10
pcambraSeems to be an issue in Drupal Core #972536: Object of class stdClass could not be converted to int in _menu_router_build() - line 3370
Also related #1425356: Object of class Model could not be converted to int & #1254740: Notice: Object of class stdClass could not be converted to int in _menu_navigation_links_rebuild() (line 2703)