Quantcast
Channel: Issues for Drupal core
Browsing all 300130 articles
Browse latest View live

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 Article


Fail 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 Article


Problematic 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 Article

views_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 Article

Between 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 Article


Add 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 Article

Image may be NSFW.
Clik here to view.

Video 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 Article

Permission 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 Article


Reduce \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 Article


Replace 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 Article

Menu 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 Article

Show 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 Article

layout_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 Article


No 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 Article

Impossible 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 Article


SQLSTATE[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 Article

Image may be NSFW.
Clik here to view.

Dropbutton 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 Article


ExpectDeprecationTrait 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 Article

Allow 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 Article

BadRequestHttpException: 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
Browsing all 300130 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>