Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Hagith
Copy link
Contributor

@Hagith Hagith commented Dec 17, 2011

Removing setting of very annoying option in zend autoloader (suppressFoundWarnings).

This option disallows developer to debug class loading fatal errors - code ends with white screen of death!
Spent lot of time to find what interface method is not implemented...

…NotFoundWarnings).

This option disallows developer to debug class loading fatal errors!
Spent hour to find what interface method is not implemented...
@brusch
Copy link
Member

brusch commented Dec 28, 2011

Integrated

@brusch brusch closed this Dec 28, 2011
@Hagith
Copy link
Contributor Author

Hagith commented Dec 30, 2011

suppressNotFoundWarnings is back again in latest commit: 5d7b8f6#diff-2
https://github.com/pimcore/pimcore/blob/master/pimcore/config/startup.php

@brusch
Copy link
Member

brusch commented Jan 1, 2012

yes I know, unfortunately the solution wasn't that easy.
We'll try to fix that as soon as possible.

@Hagith
Copy link
Contributor Author

Hagith commented Jan 2, 2012

Can you provide more in depth information? Maybe i could help.

@brusch
Copy link
Member

brusch commented Jan 6, 2012

It should be solved now, the problem was that class_exists() throws an error when suppressNotFoundWarnings(false)

brusch pushed a commit that referenced this pull request Dec 17, 2012
weisswurstkanone added a commit that referenced this pull request May 12, 2016
brusch pushed a commit that referenced this pull request Nov 14, 2016
* Notifications feature
@elwininc elwininc mentioned this pull request Jan 4, 2018
Apke added a commit to Apke/pimcore that referenced this pull request Feb 5, 2018
Hi,

Maybe a little bit special, but i got an error because of undefined Service for `monolog.logger.pimcore` while Check Requirements Route.

The Exception:
```
request.CRITICAL: Uncaught PHP Exception Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: "You have requested a non-existent service "monolog.logger.pimcore". Did you mean one of these: "monolog.logger.event", "monolog.logger.php", "monolog.logger.request", "monolog.logger.cache", "monolog.logger.console"?" at /var/www/html/client.local/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php line 348 {"exception":"[object] (Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException(code: 0): You have requested a non-existent service \"monolog.logger.pimcore\". Did you mean one of these: \"monolog.logger.event\", \"monolog.logger.php\", \"monolog.logger.request\", \"monolog.logger.cache\", \"monolog.logger.console\"? at /var/www/html/client.local/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:348)"} []
```

It is caused because of Pimcore\Logger usage of some Methods like `Pimcore\Config::getSystemConfig()`

An Example ExceptionTrace (Working dir is replaced with `./`)
````
#0 ./pimcore/lib/Pimcore/Logger.php(29): Symfony\Component\DependencyInjection\Container->get('monolog.logger....')
#1 ./pimcore/lib/Pimcore/Logger.php(44): Pimcore\Logger::log('Cannot find sys...', 'emergency', Array)
pimcore#2 ./pimcore/lib/Pimcore/Config.php(114): Pimcore\Logger::emergency('Cannot find sys...')
pimcore#3 ./pimcore/lib/Pimcore/Tool/Console.php(80): Pimcore\Config::getSystemConfig()
pimcore#4 ./pimcore/lib/Pimcore/Tool/Console.php(233): Pimcore\Tool\Console::getExecutable('php', true)
pimcore#5 ./pimcore/lib/Pimcore/Tool/Requirements.php(328): Pimcore\Tool\Console::getPhpCli()
pimcore#6 ./pimcore/lib/Pimcore/Bundle/InstallBundle/Controller/InstallController.php(88): Pimcore\Tool\Requirements::checkExternalApplications()
pimcore#7 ./vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(151): Pimcore\Bundle\InstallBundle\Controller\InstallController->checkAction(Object(Symfony\Component\HttpFoundation\Request), Object(Pimcore\Install\Installer))
pimcore#8 ./vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
pimcore#9 ./vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(202): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
pimcore#10./web/install.php(72): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
pimcore#11 {main}
````

best regards
@Cruiser13 Cruiser13 mentioned this pull request Feb 7, 2018
brusch pushed a commit that referenced this pull request Jul 26, 2018
robertSt7 pushed a commit that referenced this pull request Aug 3, 2023
kingjia90 pushed a commit that referenced this pull request Aug 11, 2023
Fixing problem "Imagick::compositeImage(): Argument #3 ($x) must be of type int, float given". It appears when creating thumbnail template with "Add Overlay (Imagick)" and "Origin: center"
kingjia90 added a commit that referenced this pull request Aug 11, 2023
* Update Imagick.php

Fixing problem "Imagick::compositeImage(): Argument #3 ($x) must be of type int, float given". It appears when creating thumbnail template with "Add Overlay (Imagick)" and "Origin: center"

* Update lib/Image/Adapter/Imagick.php

Co-authored-by: Jacob Dreesen <[email protected]>

---------

Co-authored-by: Bohdan Fil <[email protected]>
Co-authored-by: Bernhard Rusch <[email protected]>
Co-authored-by: Jacob Dreesen <[email protected]>
@abdelrhmanyosry abdelrhmanyosry mentioned this pull request Aug 11, 2023
pimcore-deployments pushed a commit that referenced this pull request Dec 18, 2023
* Added release propagation workflow

* Added reusable workflow for release propagation
marekgach pushed a commit to marekgach/pimcore that referenced this pull request Jan 22, 2024
* Added release propagation workflow

* Added reusable workflow for release propagation
twin-elements pushed a commit to twin-elements/pimcore that referenced this pull request Jan 29, 2024
* Added release propagation workflow

* Added reusable workflow for release propagation
twin-elements pushed a commit to twin-elements/pimcore that referenced this pull request Jan 29, 2024
* Added release propagation workflow

* Added reusable workflow for release propagation
ivannit added a commit to ivannit/pimcore that referenced this pull request Aug 11, 2024
fix error "preg_replace(): Argument pimcore#3 ($subject) must be of type array|string, null given"
ThomasKeil added a commit to ThomasKeil/pimcore that referenced this pull request Mar 31, 2025
If you entered a number with decimal places in a QuantitValueRange field
and try to save the object, you'll get a warning

  `Argument pimcore#3 ($step) must not exceed the specified range in php shell code`

since the default of 1 is too large. Additionally, a step fit for the numbers
entered could not be passed to `getValue()`/`getRange()` due the limitation to `int`.

With this fix the step necessary for the numbers in use is determined automatically,
and you could enter your own step as specified with php's range function, see
https://www.php.net/manual/en/function.range.php
djbodya added a commit to djbodya/pimcore that referenced this pull request Aug 23, 2025
Can not filter checkbox values in Grid.

Fatal Error
File - vendor/doctrine/dbal/src/Connection.php
Line - 568
Trace - Doctrine\DBAL\Connection::quote(): Argument pimcore#1 ($value) must be of type string, int given, called in vendor/pimcore/pimcore/models/DataObject/ClassDefinition/Data/Checkbox.php on line 174
Trace - #0 vendor/pimcore/pimcore/models/DataObject/ClassDefinition/Data/Checkbox.php(174): Doctrine\DBAL\Connection->quote()
pimcore#1 vendor/pimcore/pimcore/models/DataObject/ClassDefinition/Data/Checkbox.php(158): Pimcore\Model\DataObject\ClassDefinition\Data\Checkbox->getFilterConditionExt()
pimcore#2 vendor/pimcore/admin-ui-classic-bundle/src/Helper/GridHelperService.php(366): Pimcore\Model\DataObject\ClassDefinition\Data\Checkbox->getFilterCondition()
pimcore#3 vendor/pimcore/admin-ui-classic-bundle/src/Helper/GridHelperService.php(667): Pimcore\Bundle\AdminBundle\Helper\GridHelperService->getFilterCondition()
pimcore#4 vendor/pimcore/admin-ui-classic-bundle/src/Controller/Admin/DataObject/DataObjectActionsTrait.php(102): Pimcore\Bundle\AdminBundle\Helper\GridHelperService->prepareListingForGrid()
pimcore#5 vendor/pimcore/admin-ui-classic-bundle/src/Controller/Admin/DataObject/DataObjectController.php(1693): Pimcore\Bundle\AdminBundle\Controller\Admin\DataObject\DataObjectController->gridProxy()
pimcore#6 vendor/symfony/http-kernel/HttpKernel.php(181): Pimcore\Bundle\AdminBundle\Controller\Admin\DataObject\DataObjectController->gridProxyAction()
pimcore#7 vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
pimcore#8 vendor/symfony/http-kernel/Kernel.php(197): Symfony\Component\HttpKernel\HttpKernel->handle()
pimcore#9 vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php(35): Symfony\Component\HttpKernel\Kernel->handle()
pimcore#10 vendor/autoload_runtime.php(29): Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
pimcore#11 public/index.php(19): require_once('...')
pimcore#12 {main}
kingjia90 pushed a commit to djbodya/pimcore that referenced this pull request Aug 26, 2025
Can not filter checkbox values in Grid.

Fatal Error
File - vendor/doctrine/dbal/src/Connection.php
Line - 568
Trace - Doctrine\DBAL\Connection::quote(): Argument pimcore#1 ($value) must be of type string, int given, called in vendor/pimcore/pimcore/models/DataObject/ClassDefinition/Data/Checkbox.php on line 174
Trace - #0 vendor/pimcore/pimcore/models/DataObject/ClassDefinition/Data/Checkbox.php(174): Doctrine\DBAL\Connection->quote()
pimcore#1 vendor/pimcore/pimcore/models/DataObject/ClassDefinition/Data/Checkbox.php(158): Pimcore\Model\DataObject\ClassDefinition\Data\Checkbox->getFilterConditionExt()
pimcore#2 vendor/pimcore/admin-ui-classic-bundle/src/Helper/GridHelperService.php(366): Pimcore\Model\DataObject\ClassDefinition\Data\Checkbox->getFilterCondition()
pimcore#3 vendor/pimcore/admin-ui-classic-bundle/src/Helper/GridHelperService.php(667): Pimcore\Bundle\AdminBundle\Helper\GridHelperService->getFilterCondition()
pimcore#4 vendor/pimcore/admin-ui-classic-bundle/src/Controller/Admin/DataObject/DataObjectActionsTrait.php(102): Pimcore\Bundle\AdminBundle\Helper\GridHelperService->prepareListingForGrid()
pimcore#5 vendor/pimcore/admin-ui-classic-bundle/src/Controller/Admin/DataObject/DataObjectController.php(1693): Pimcore\Bundle\AdminBundle\Controller\Admin\DataObject\DataObjectController->gridProxy()
pimcore#6 vendor/symfony/http-kernel/HttpKernel.php(181): Pimcore\Bundle\AdminBundle\Controller\Admin\DataObject\DataObjectController->gridProxyAction()
pimcore#7 vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
pimcore#8 vendor/symfony/http-kernel/Kernel.php(197): Symfony\Component\HttpKernel\HttpKernel->handle()
pimcore#9 vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php(35): Symfony\Component\HttpKernel\Kernel->handle()
pimcore#10 vendor/autoload_runtime.php(29): Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
pimcore#11 public/index.php(19): require_once('...')
pimcore#12 {main}
kingjia90 pushed a commit that referenced this pull request Aug 26, 2025
Can not filter checkbox values in Grid.

Fatal Error
File - vendor/doctrine/dbal/src/Connection.php
Line - 568
Trace - Doctrine\DBAL\Connection::quote(): Argument #1 ($value) must be of type string, int given, called in vendor/pimcore/pimcore/models/DataObject/ClassDefinition/Data/Checkbox.php on line 174
Trace - #0 vendor/pimcore/pimcore/models/DataObject/ClassDefinition/Data/Checkbox.php(174): Doctrine\DBAL\Connection->quote()
#1 vendor/pimcore/pimcore/models/DataObject/ClassDefinition/Data/Checkbox.php(158): Pimcore\Model\DataObject\ClassDefinition\Data\Checkbox->getFilterConditionExt()
#2 vendor/pimcore/admin-ui-classic-bundle/src/Helper/GridHelperService.php(366): Pimcore\Model\DataObject\ClassDefinition\Data\Checkbox->getFilterCondition()
#3 vendor/pimcore/admin-ui-classic-bundle/src/Helper/GridHelperService.php(667): Pimcore\Bundle\AdminBundle\Helper\GridHelperService->getFilterCondition()
#4 vendor/pimcore/admin-ui-classic-bundle/src/Controller/Admin/DataObject/DataObjectActionsTrait.php(102): Pimcore\Bundle\AdminBundle\Helper\GridHelperService->prepareListingForGrid()
#5 vendor/pimcore/admin-ui-classic-bundle/src/Controller/Admin/DataObject/DataObjectController.php(1693): Pimcore\Bundle\AdminBundle\Controller\Admin\DataObject\DataObjectController->gridProxy()
#6 vendor/symfony/http-kernel/HttpKernel.php(181): Pimcore\Bundle\AdminBundle\Controller\Admin\DataObject\DataObjectController->gridProxyAction()
#7 vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#8 vendor/symfony/http-kernel/Kernel.php(197): Symfony\Component\HttpKernel\HttpKernel->handle()
#9 vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php(35): Symfony\Component\HttpKernel\Kernel->handle()
#10 vendor/autoload_runtime.php(29): Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
#11 public/index.php(19): require_once('...')
#12 {main}
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

Successfully merging this pull request may close these issues.

2 participants