Hi,

I am unable to administer blocks as I recieve the below error message.

Fatal error: Unsupported operand types in /home/webpaths/public_html/modules/block/block.admin.inc on line 39

I recieve below messages on every page and I am unable to administer

warning: array_map() [function.array-map]: Argument #2 should be an array in /home/webpaths/public_html/modules/system/system.module on line 1015.
warning: array_keys() [function.array-keys]: The first argument should be an array in /home/webpaths/public_html/modules/block/block.admin.inc on line 122.
warning: array_flip() [function.array-flip]: The argument should be an array in /home/webpaths/public_html/modules/block/block.admin.inc on line 122.

The block Control Center was assigned to the invalid region footer and has been disabled.

Regards,

Comments

john.karahalis’s picture

Interesting. Thank you for contacting us about this.

Nothing stands out as an obvious cause of the issue you are describing, so I will need to continue thinking about this. While I do, could you please provide me with the following information?

  • Can you confirm that the theme "Toasted" is installed, enabled, and chosen as the default theme? All of this information can be determined at admin/build/themes.
  • What version of PHP are you using for your installation?
  • What database type (MySQL, PostgreSQL, etc) are you using for your installation?

As I said, I will continue to think about this regardless, but any additional information you provide might be very helpful in determining a cause.

Thanks!

lcastro’s picture

I have the same problem after updated my multisite domain from 6.21 to 6.22.
Did you solved the problem?
When I try to administer blocks I recieve the below error message:
Fatal error: Unsupported operand types in /home/content/92/6452492/html/modules/block/block.admin.inc on line 38
And when i try to go to home page the style of this page dosen't work fine I receive this message at the top of the page:
warning: array_map() [function.array-map]: Argument #2 should be an array in /home/content/92/6452492/html/modules/system/system.module on line 1020.
warning: array_keys() [function.array-keys]: The first argument should be an array in /home/content/92/6452492/html/includes/theme.inc on line 1832.
warning: Invalid argument supplied for foreach() in /home/content/92/6452492/html/includes/theme.inc on line 1832.

john.karahalis’s picture

Hey lcastro. Thank you for your report.

I am no longer the maintainer of Innovation News (although I still need to update the project page to reflect that). I will forward your note on to the current maintainers in the Open Publishing Lab. In the meantime, some of the ideas in comment #1 might help you.