Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is a child issue of #1361562: Re-enabling Commerce causes a PHP Fatal Error. The last patch for this specific issue was in #6 on that thread, but there remained work to be done before the actual bug was solved more directly to close it out without having to address the function move.
Comments
Comment #1
andersiversen CreditAttribution: andersiversen commentedSince the other issue is marked as fixed I'm posting here:
After installing the patch from the other thread (comment #21) I can enable all commerce modules without errors, but commerce is still broken. If I click the "Store" link in the admin menu I get a WSOD, except this error printet on it:
Fatal error: Unsupported operand types in drupal/modules/system/system.module on line 2127 Call Stack: 0.0001 650840 1. {main}() drupal/index.php:0 0.4660 88228952 2. menu_execute_active_handler() drupal/index.php:21 0.4732 89599880 3. call_user_func_array() drupal/includes/menu.inc:517 0.4732 89600248 4. system_admin_menu_block_page() drupal/includes/menu.inc:0 0.4732 89600248 5. system_admin_menu_block() drupal/modules/system/system.admin.inc:68
If I go to my webshop page I just get the error "The website encountered an unexpected error. Please try again later."
I can't find anything in the error logs.
Comment #2
rszrama CreditAttribution: rszrama commentedI've never seen that error, but it doesn't sound related to the patch you've linked or this issue itself. You might try http://drupal.org/project/commerce_repair, but your error message doesn't look field related to me.