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

just delete a duplicated row #1

Merged
merged 1 commit into from Nov 6, 2011
Merged

Conversation

timglabisch
Copy link

duplicated row in the object controller

@brusch brusch merged this pull request into pimcore:master Nov 6, 2011
brusch pushed a commit that referenced this pull request Nov 6, 2011
just delete a duplicated row

git-svn-id: http://www.pimcore.org/svn/pimcore/private/core/trunk@925 1f8fe7d8-47f0-464c-8d0a-336f4953ab05
brusch pushed a commit that referenced this pull request Mar 19, 2013
brusch pushed a commit that referenced this pull request Oct 6, 2014
brusch pushed a commit that referenced this pull request May 29, 2016
maff pushed a commit that referenced this pull request Nov 6, 2017
@elwininc elwininc mentioned this pull request Jan 4, 2018
Apke referenced this pull request in Apke/pimcore 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 Mar 12, 2018
j-jonas added a commit to j-jonas/pimcore that referenced this pull request Jun 19, 2023
Pimcore\Model\Asset\Video::getThumbnailConfig(): Argument pimcore#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
@j-jonas j-jonas mentioned this pull request Jun 19, 2023
j-jonas added a commit to j-jonas/pimcore that referenced this pull request Jun 19, 2023
strpos(): Argument pimcore#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
aryaantony92 pushed a commit that referenced this pull request Jul 18, 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
blankse added a commit to blankse/pimcore that referenced this pull request Jul 26, 2023
robertSt7 pushed a commit that referenced this pull request Jul 31, 2023
…when uploading video (#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
@abdelrhmanyosry abdelrhmanyosry mentioned this pull request Aug 11, 2023
blankse added a commit to blankse/pimcore that referenced this pull request Aug 17, 2023
aryaantony92 pushed a commit that referenced this pull request Aug 17, 2023
fracsi added a commit to fracsi/pimcore that referenced this pull request Aug 28, 2023
Fix `htmlspecialchars(): Argument pimcore#1 ($string) must be of type string, null given`
fracsi added a commit to fracsi/pimcore that referenced this pull request Aug 28, 2023
Fix `htmlspecialchars(): Argument pimcore#1 ($string) must be of type string, null given`
dvesh3 added a commit that referenced this pull request Sep 14, 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>
robertSt7 pushed a commit that referenced this pull request Sep 25, 2023
)

* 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
pimcore-deployments pushed a commit that referenced this pull request Dec 18, 2023
Automated PR from CE repository
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.

None yet

2 participants