Open
Conversation
Fix user data load for the case when user id is 0 in the `users` table in the database
mhgtlc
pushed a commit
that referenced
this pull request
Feb 21, 2022
* Do not initialize db schema in constructor. * Do not initialize db schema in constructor. * Always remove schema. * Always return schema. * Fix phpstan test (#1) * Fix phpstan * Add ConnectionInterface::getSchemaManager() * Remove unused use * Code improvements. * Revert changes regarding connection interface. * Add method annotation to simplify code in getSchema() Co-authored-by: Sebastian Blank <sebastian.bl@gmx.de>
mhgtlc
pushed a commit
that referenced
this pull request
Feb 21, 2022
… deprecated ResourceBundle::getLocales(): Passing null to parameter #1 ($bundle) of type string is deprecated in PHP 8.1
mhgtlc
pushed a commit
that referenced
this pull request
Sep 28, 2022
…s deprecate (pimcore#12458) * [PHP 8.1] fix Passing null to parameter #1 ($string) of type string is deprecate https://github.com/coreshop/CoreShop/runs/6981738951?check_suite_focus=true#step:17:93 * Update Staticroute.php * Update Staticroute.php * Update Staticroute.php * Update models/Staticroute.php Co-authored-by: Sebastian Blank <sebastian.bl@gmx.de> Co-authored-by: Bernhard Rusch <brusch@users.noreply.github.com> Co-authored-by: Sebastian Blank <sebastian.bl@gmx.de>
mhgtlc
pushed a commit
that referenced
this pull request
Sep 28, 2022
… Passing null to parameter #1 ($string) of type string is deprecated" when calling it with null (pimcore#12839)
mhgtlc
pushed a commit
that referenced
this pull request
Jan 10, 2023
Example error message:
Warning: Undefined array key "localizedfields"
Es ist eine Ausnahme aufgetreten - der Vorgang konnte nicht durchgeführt werden. Bitte laden Sie die Adminoberfläche neu und versuchen Sie es danach erneut.Timestamp: Wed Nov 09 2022 16:06:23 GMT+0100 (Mitteleuropäische Normalzeit) Status: 500 | Internal Server Error URL: /admin/object-helper/grid-get-column-config Message: Warning: Undefined array key "localizedfields" Trace: in /var/www/html/vendor/pimcore/pimcore/models/DataObject/Service.php:1263 #0 /var/www/html/vendor/pimcore/pimcore/bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php(257): Pimcore\Model\DataObject\Service::getCustomGridFieldDefinitions('subscription', 49356) #1 /var/www/html/vendor/pimcore/pimcore/bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php(225): Pimcore\Bundle\AdminBundle\Controller\Admin\DataObject\DataObjectHelperController->doGetGridColumnConfig(Object(Symfony\Component\HttpFoundation\Request), Object(Pimcore\Config)) pimcore#2 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(153): Pimcore\Bundle\AdminBundle\Controller\Admin\DataObject\DataObjectHelperController->gridGetColumnConfigAction(Object(Symfony\Component\HttpFoundation\Request), Object(Pimcore\Config)) pimcore#3 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(75):
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) pimcore#4 /var/www/html/vendor/symfony/http-kernel/Kernel.php(202): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) pimcore#5 /var/www/html/public/index.php(40): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request)) pimcore#6 {main}
mhgtlc
pushed a commit
that referenced
this pull request
Jan 10, 2023
…ype string is deprecated" (pimcore#13828)
mhgtlc
pushed a commit
that referenced
this pull request
Jan 10, 2023
…f type resource, null given Folder Preview $tileThumb->getStream can return null
mhgtlc
pushed a commit
that referenced
this pull request
Jul 25, 2023
* Update Video.php Pimcore\Model\Asset\Video::getThumbnailConfig(): Argument #1 ($config) must be of type Pimcore\Model\Asset\Video\Thumbnail\Config|string, null given, called in /var/www/html/vendor/pimcore/pimcore/models/Document/Editable/Video.php on line 492 File: /var/www/html/vendor/pimcore/pimcore/models/Asset/Video.php Line: 73 * Update Video.php strpos(): Argument #1 ($haystack) must be of type string, int given File: /var/www/html/vendor/pimcore/pimcore/models/Document/Editable/Video.php Line: 938 some values arent strings
mhgtlc
pushed a commit
that referenced
this pull request
Sep 12, 2023
…when uploading video (pimcore#15621) * Fix: Ceil():Argument #1 ($num) must be of type int|float, null given when uploading video * Fix wrong php doc. * move ceil to getDurationString() * Remove unnecessary int cast * Make getDurationString non static
mhgtlc
pushed a commit
that referenced
this pull request
Sep 12, 2023
…of type int|float, string given
mhgtlc
pushed a commit
that referenced
this pull request
Nov 23, 2023
* Fallback to url if text is disabled Fix `htmlspecialchars(): Argument #1 ($string) must be of type string, null given` * Update models/Document/Editable/Link.php Readable code Co-authored-by: Divesh Pahuja <divesh.pahuja@pimcore.com> --------- Co-authored-by: Divesh Pahuja <divesh.pahuja@pimcore.com>
mhgtlc
pushed a commit
that referenced
this pull request
Nov 23, 2023
…core#15861) * set cpath when using AbstractElement::setProperty() * prevent error "E_DEPRECATED: strcmp(): Passing null to parameter #1 ($string1) of type string is deprecated" when cpath is NULL * fill cpath based on owner element if not set
mhgtlc
pushed a commit
that referenced
this pull request
May 24, 2024
Automated PR from CE repository
mhgtlc
pushed a commit
that referenced
this pull request
Sep 27, 2024
kingjia90
pushed a commit
that referenced
this pull request
Jul 18, 2025
…aVersionTimestamp) must be of type int, null given (pimcore#18057)
kingjia90
pushed a commit
that referenced
this pull request
Jul 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix user data load for the case when user id is 0 in the
userstable in the databaseChanges in this pull request
Resolves #
Additional info