Notice: Undefined index: type in Drupal\metatag\Plugin\metatag\Tag\MetaNameBase->__construct() (line 95 of modules/metatag/src/Plugin/metatag/Tag/MetaNameBase.php).
    Notice: Undefined index: type in Drupal\metatag\Plugin\metatag\Tag\MetaNameBase->__construct() (line 95 of modules/metatag/src/Plugin/metatag/Tag/MetaNameBase.php).
    Notice: Undefined index: type in Drupal\metatag\Plugin\metatag\Tag\MetaNameBase->__construct() (line 95 of modules/metatag/src/Plugin/metatag/Tag/MetaNameBase.php).

this error appears on the database update step

1

CommentFileSizeAuthor
#5 3.jpg37.71 KBfomenkoandrey
#3 2.jpg145.31 KBfomenkoandrey
#3 1.jpg121.82 KBfomenkoandrey
Без имени-1.jpg164.44 KBfomenkoandrey
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fomenkoandrey created an issue. See original summary.

DamienMcKenna’s picture

Can you please try running core/rebuild.php and see if that fixes the problem?

fomenkoandrey’s picture

FileSize
121.82 KB
145.31 KB

i try next url: mysite/core/rebuild.php
but when running this url i redirected to the mysite and nothing happened.
at any page of site i have errors:

Notice: Undefined index: type in Drupal\metatag\Plugin\metatag\Tag\MetaNameBase->__construct() (line 95 of modules/metatag/src/Plugin/metatag/Tag/MetaNameBase.php).

main page:
1

node page:
2

DamienMcKenna’s picture

Are you able to go to the admin/config/development/performance and clear all caches?

fomenkoandrey’s picture

FileSize
37.71 KB

i try delete metatags, but the select for removal can only be for "Metatag: Open Graph" module.
i cannot select and deleted the module "Metatag" (why?)

after the removal of the module "Metatag: Open Graph" error has disappeared.
after the restart of the module I was no longer able to open any page of the site or go to the meta tag module settings.
except for an error - nothing.
Doctrine\Common\Annotations\AnnotationException: [Syntax Error] Expected PlainValue, got ''' at position 439 in class Drupal\metatag_open_graph\Plugin\metatag\Tag\OgUpdatedTime. in Doctrine\Common\Annotations\AnnotationException::syntaxError() (line 42 of vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php).

3

whether it is possible to do something to liven up the site? or he's dead, and now the only full recovery from backup before the update will save the site?

fomenkoandrey’s picture

Are you able to go to the admin/config/development/performance and clear all caches?

I did it.

DamienMcKenna’s picture

Try updating to the latest 8.x-1.x-dev release, I added a fix yesterday for a bug related to that meta tag.

fomenkoandrey’s picture

yep.
i delete all files from module/metatags and copy new files from 03 april dev virsion.
look like works.
errors dissapeared.
thank U.

DamienMcKenna’s picture

Status: Active » Fixed

Excellent. I'm going to release that version as beta7 so it fixes this problem for everyone.

fomenkoandrey’s picture

I have a question:
why can not remove this module?

i try delete metatags, but the select for removal can only be for "Metatag: Open Graph" module.
i cannot select and deleted the module "Metatag"

Im not going to remove the module, just wondering.

and advise please: now on the live sites installed metatags version beta 5.
whether to update them from beta 5 to the current dev version? or wait for the release?

thank U.
and sorry for my english.

DamienMcKenna’s picture

Oh, you can't remove Metatag until you first remove Metatag Open Graph and remove any metatag fields you've added.

As for waiting, just give me a short while and the new release will be ready.

You are very welcome for the help, I'm sorry beta6 had such a major bug.

DamienMcKenna’s picture

I've released beta7 with this fix, sorry again for the trouble you've had.

fomenkoandrey’s picture

thank U

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.