I got a white screen when going into settings page :
admin/config/search/metatag

and the error is :
Call to undefined function metatag_get_info() in /***/sites/all/modules/metatags/metatag_ui/metatag_ui.admin.inc on line 48

Comments

dave reid’s picture

Hrm, not sure how this is possible?? Do you not have the 'metatag' module enabled?

madri2’s picture

i have the meta tag api and UI activated

madri2’s picture

i wasn't even able to disable the module, so i disabled it directly on the database, then enabled it again and got this error :
PHP Fatal error: Unsupported operand types in ***/metatags/metatag.module on line 651, referer: */admin/modules
php 5.3.3

funex’s picture

I have the same problem but the error I get is

Unsupported operand types in [...]/htdocs/sites/all/modules/metatags/metatag.module on line 651

the line in question is

$page['content'] = array('metatags' => array()) + $page['content'];

dave reid’s picture

funex’s picture

Thanks Dave!

dave reid’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

@madri2: Are you still able to replicate this with the latest version?

madri2’s picture

no the original error seems to be fixed but i have a warning when i create a new node

dgastudio’s picture

i have tested both versions; alpha and dev.

drush cron

PHP Warning: Call-time pass-by-reference has been deprecated in /home/u4586/domains/*****/sites/all/modules/subscriptions/subscriptions_content.module on line 349
PHP Warning: Call-time pass-by-reference has been deprecated in /home/u4586/domains/*****//sites/all/modules/subscriptions/subscriptions_content.module on line 349

Cron run successfully.

and WSOD on admin/reports/status

dave reid’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
petu’s picture

It is possible to set disabled theme as admin theme.
Enabling admin theme (i.e.: drush en seven) solved this problem in my case.

open social’s picture

I don't know why, but there seems to be a redirect from http://drupal.org/project/metatag to http://drupal.org/project/metatags. When using drush it is possible to get two modules, metatag and metatags. I got the crash when using both.

chi’s picture

Confirm #12. I spent a hour to get metatags working.

philsward’s picture

NOTE / CONFIRM COMMENT #12

the metatags module is DEAD. You probably got this error because you accidentally downloaded the WRONG MODULE.

MAKE SURE YOU DOWNLOAD http://drupal.org/project/metatag

I'm just glad I found this post before I spent an hour trying to figure it out ;)

damienmckenna’s picture

FYI I'm trying to get the old metatags module's downloads removed to save others having similar problems too.

philsward’s picture

DamienMcKenna Sweet! I think it will help with a lot of the initial problems people might have. I knew there were two different modules, one being dead but I wasn't paying attention when I downloaded it last night and ended up with the wrong one. Comment #12 reminded me that I probably had the wrong module and sure enough, that was the case. : )