Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to a member function isSource() on null #158

Closed
Aporie opened this issue Jun 18, 2024 · 1 comment
Closed

Call to a member function isSource() on null #158

Aporie opened this issue Jun 18, 2024 · 1 comment

Comments

@Aporie
Copy link
Contributor

Aporie commented Jun 18, 2024

In oe_corporate_blocks_post_update_40010 some string translations are deleted.

If the website deleted the block after installation of the module, these strings are not existing and result in the following error:

[notice] Update started: oe_corporate_blocks_post_update_40010
Error: Call to a member function isSource() on null in /home/ec2-user/environment/eurofound-d8-dev/web/core/modules/locale/src/StringDatabaseStorage.php on line 293 #0 /home/ec2-user/environment/eurofound-d8-dev/web/core/modules/locale/src/StringDatabaseStorage.php(189): Drupal\locale\StringDatabaseStorage->dbStringKeys()

Patch attached.
oe_corporate_blocks_delete_string_optional.txt

@brummbar
Copy link
Contributor

Hello @Aporie , we fixed this in #159 and tagged a 4.19.2 release. Thanks for reporting the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants