site CRASH after upgrade of metatag 8.x-1.0-beta-6
The problem is metatag_open_graph.
[Sat Apr 02 23:31:30.852502 2016] [:error] [pid 28958] [client 178.51.201.143:59153] Uncaught PHP Exception Doctrine\\Common\\Annotations\\AnnotationException: "[Syntax Error] Expected PlainValue, got ''' at position 439 in class Drupal\\metatag_open_graph\\Plugin\\metatag\\Tag\\OgUpdatedTime." at /home/newsplusd8/pu
blic_html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php line 42, referer: http://newsplusd8.arduinna-web.ovh/admin/config/search/metatag
[Sat Apr 02 23:32:26.327558 2016] [:error] [pid 3192] [client 178.51.201.143:59166] Uncaught PHP Exception Doctrine\\Common\\Annotations\\AnnotationException: "[Syntax Error] Expected PlainValue, got ''' at position 439 in class Drupal\\metatag_open_graph\\Plugin\\metatag\\Tag\\OgUpdatedTime." at /home/newsplusd8/pub
lic_html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php line 42, referer: http://newsplusd8.arduinna-web.ovh/admin/config/search/metatag
[Sat Apr 02 23:32:34.310659 2016] [:error] [pid 3192] [client 178.51.201.143:59173] Uncaught PHP Exception Doctrine\\Common\\Annotations\\AnnotationException: "[Syntax Error] Expected PlainValue, got ''' at position 439 in class Drupal\\metatag_open_graph\\Plugin\\metatag\\Tag\\OgUpdatedTime." at /home/newsplusd8/pub
lic_html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php line 42, referer: http://newsplusd8.arduinna-web.ovh/admin/config/search/metatag
[Sat Apr 02 23:32:49.147012 2016] [:error] [pid 6885] [client 178.51.201.143:59180] Uncaught PHP Exception Doctrine\\Common\\Annotations\\AnnotationException: "[Syntax Error] Expected PlainValue, got ''' at position 439 in class Drupal\\metatag_open_graph\\Plugin\\metatag\\Tag\\OgUpdatedTime." at /home/newsplusd8/pub
lic_html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php line 42, referer: http://newsplusd8.arduinna-web.ovh/admin/structure
[Sat Apr 02 23:32:51.236435 2016] [:error] [pid 5780] [client 178.51.201.143:59182] Uncaught PHP Exception Doctrine\\Common\\Annotations\\AnnotationException: "[Syntax Error] Expected PlainValue, got ''' at position 439 in class Drupal\\metatag_open_graph\\Plugin\\metatag\\Tag\\OgUpdatedTime." at /home/newsplusd8/pub
lic_html/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php line 42, referer: http://newsplusd8.arduinna-web.ovh/admin/structure
by-pass is to uninstall metatag_open_graph :
drush pm-uninstall metatag_open_graph
Same problem on 2 D8 sites...
Comments
Comment #2
didier misson commentedComment #3
damienmckennaDoes this fix the problem?
Comment #4
damienmckennaThis updates one of the tests to also enable the Open Graph and Twitter Cards submodules, just to make sure simply enabling them doesn't break the site.
Comment #5
didier misson commentedThanks Damien.
I go to test the 2 patches now.
Didier
Comment #6
gillesbailleuxWe make a backup and test patch #4
Comment #10
didier misson commentedI just test patch # 4
with MySQL and PHP7.
Test seem ok !
Site is up, running, with Metatag Open Graph enable.
Thanks.
Didier
Comment #11
damienmckennaThe following error is triggered when saving admin/config/search/metatag/global:
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for metatag.metatag_defaults.global with the following errors: metatag.metatag_defaults.global:tags.twitter_cards_type missing schema in Drupal\Core\Config\Testing\ConfigSchemaChecker->onConfigSave() (line 98 of core/lib/Drupal/Core/Config/Testing/ConfigSchemaChecker.php).Comment #12
damienmckennaSubmitting the form works ok, but the tests result in an error.
Comment #13
damienmckennaThe twitter_cards_type field is a required field.
Comment #17
damienmckennaI'm moving the test changes into #2699297: Add tests for submodules and have committed the patch from #3.
Comment #18
damienmckennaThis was critical.
Comment #19
didier misson commentedThanks Damien.
I will try to test this new release this evening.
Didier
Comment #20
didier misson commentedHi Damien
We have test and upgrade several sites, and all seem ok now, with Beta 7 !
Thanks for your very fast action to correct this bug.
;-)
Didier
Comment #21
damienmckenna@Didier Misson: I'm very happy to hear it :)