Cannot create references to/from string offsets nor overloaded objects
I'm getting the following runtime error in my PHP's error_log:[Thu Jul 31 20:54:59 2014] [error] [client 98.176.242.59] PHP Fatal error: Cannot create references to/from string offsets nor overloaded...
View ArticleFail Functional Javascript tests that throw Javascript errors
Problem/MotivationOur phpunit based functional javascript test will pass even if there are Javascript errors on the page.While we test JS functionality sometimes a JS error will not break our tests...
View ArticleProblematic langcode syncing with preferred_langcode
Problem/MotivationWe've come upon an issue with the syncing of langcode with preferred_langcode on the User entity.When editing the preferred language of the User entity to an existing entity...
View Articleviews_update_8500() inlines configuration changes instead of this being done...
Problem/Motivation#2846614: Incorrect field name is used in views integration for multi-value base fields (CR) changed the naming used for multi value base fields in views. It was noted in the CR/issue...
View ArticleBetween May 4 and June 3, 2020: Make every $modules property protected on...
Problem/Motivation Unit tests based on BrowserTestBase and KernelTestBase have a $modules property that allows to specify the modules that should be enabled before executing the tests. This property...
View ArticleAdd return typehints to setUp/tearDown methods in concrete test classes
Problem/MotivationSpin-off from #3063887: Support PHPUnit 8 in Drupal 9, drop support for PHPUnit 7.PHPUnit 8 is changing the signature of the main test methods that test classes extend - above all...
View ArticleVideo media needs playsinline & muted options
Problem/MotivationCurrently there is no way, to add the playsinline or muted attributes on <video> elements being output by the new Drupal code Media module. The playsinline attribute is required...
View ArticlePermission denied creating /tmp/twig
I had an issue with twig after upgrading to 8.7.0-beta1User warning: mkdir(): Permission Denied in Drupal\Component\PhpStorage\FileStorage->createDirectory() (line 174 of...
View ArticleReduce \Drupal usage in user module run-time code
AccountForm::form() contains the following code. $form['#cache']['tags'] = $config->getCacheTags(); $language_interface = \Drupal::languageManager()->getCurrentLanguage(); Instead of calling...
View ArticleReplace multiple test methods in InfoParserUnitTest with 1 testInfoException...
Problem/MotivationIn \Drupal\Tests\Core\Extension\InfoParserUnitTest we have at least 8 test methods that do that same thingDefine a broken yml stringSet 2 yml files to use this exact same stringset an...
View ArticleMenu link content changes are not visible on non-live workspaces
ProblemNow that #2880152: Convert custom menu links to be revisionable is in, changes to menu links in non-live workspaces are not showing up. Making changes, and publishing changes from non-live to...
View ArticleShow Node Title on Comment Display
I can't seem to get the node title to show on a comment display here https://www.vegancheese.co/discover/reviewsSo you can see the comment (a review) and its star ratings and everything is great, but I...
View Articlelayout_builder_system_breadcrumb_alter doesn't check for a null route...
Problem/MotivationAfter upgrading to 8.8, our tests started throwing exceptions in various places that weren't checking if $route_match->getRouteObject() returned NULL. One of those places is in...
View ArticleNo available releases found
1- Site version was 8.7.9 2- Listed updatable modules at /admin/reports/updates/update 3- Updated 3 modules using the UI 4- Ran database update => modules showed as "Up to date" at...
View ArticleImpossible to delete published translations on unpublished nodes
I have a multilingual site that uses content_moderation workflow and revisions. I came across an issue recently where If I create a node and leave it in review but then translate it, and publish the...
View ArticleSQLSTATE[40001]: Serialization failure: 1213 Deadlock
Hi All,I am working on Drupal 8.2.0-dev for website on linux server with MariaDB as database server. The site setup is based on 3 instances of website setup or file system using one database. Whenever...
View ArticleDropbutton list size and content not consistent
Problem/MotivationWhen using the dropdown lists in content overview or content types overview, I've noticed the dropbutton is only as wide as the first item (eg. 'edit') and when the list contains...
View ArticleExpectDeprecationTrait is not compatible with PHPUnit 8
Problem/MotivationDiscovered in #3063887: Support PHPUnit 8 in Drupal 9, drop support for PHPUnit 7.Drupal\Tests\Traits\ExpectDeprecationTrait implements protected function...
View ArticleAllow custom database drivers to extend and have the same name as the core ones
Problem/MotivationIn #3109534: Raise the minimum MySQL version to 5.7.8 and MariaDB version to 10.2.7 in Drupal 9, we raised the minimum MySQL version to 5.7 for Drupal 9.0. However, MySQL 5.6 isn't...
View ArticleBadRequestHttpException: Invalid contextual ID specified
Hello,We are running a Drupal 8.6.2 multisite and users have been reporting over the last few weeks that the the contextual links are disappearing on them. When I investigate, the links appear for me...
View Article