Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment | File | Size | Author |
---|---|---|---|
#5 | 3.jpg | 37.71 KB | fomenkoandrey |
#3 | 2.jpg | 145.31 KB | fomenkoandrey |
#3 | 1.jpg | 121.82 KB | fomenkoandrey |
Без имени-1.jpg | 164.44 KB | fomenkoandrey |
Comments
Comment #2
DamienMcKennaCan you please try running core/rebuild.php and see if that fixes the problem?
Comment #3
fomenkoandrey CreditAttribution: fomenkoandrey commentedi 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:
node page:
Comment #4
DamienMcKennaAre you able to go to the admin/config/development/performance and clear all caches?
Comment #5
fomenkoandrey CreditAttribution: fomenkoandrey commentedi 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).
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?
Comment #6
fomenkoandrey CreditAttribution: fomenkoandrey commentedI did it.
Comment #7
DamienMcKennaTry updating to the latest 8.x-1.x-dev release, I added a fix yesterday for a bug related to that meta tag.
Comment #8
fomenkoandrey CreditAttribution: fomenkoandrey commentedyep.
i delete all files from module/metatags and copy new files from 03 april dev virsion.
look like works.
errors dissapeared.
thank U.
Comment #9
DamienMcKennaExcellent. I'm going to release that version as beta7 so it fixes this problem for everyone.
Comment #10
fomenkoandrey CreditAttribution: fomenkoandrey commentedI have a question:
why can not remove this module?
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.
Comment #11
DamienMcKennaOh, 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.
Comment #12
DamienMcKennaI've released beta7 with this fix, sorry again for the trouble you've had.
Comment #13
fomenkoandrey CreditAttribution: fomenkoandrey commentedthank U