Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

PHP7.1 und cto 3.5.21 - imagemargin #8617

Closed
epsreps opened this issue Jan 11, 2017 · 2 comments
Closed

PHP7.1 und cto 3.5.21 - imagemargin #8617

epsreps opened this issue Jan 11, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@epsreps
Copy link

epsreps commented Jan 11, 2017

In ce_text mit image, ce_image und ce_gallery erscheint nachfolgende Fehlermeldung wenn ein "Bildabstand" mit "px" Einheit angegeben wird. Dies tritt nur auf wenn ein margin-left ohne right oder umgekehrt gesetzt ist.

Warning: A non-numeric value encountered in system/modules/core/library/Contao/Controller.php on line 1502

#0 system/modules/core/library/Contao/Controller.php(1502): __error(2, 'A non-numeric v...', '/Volumes/...', 1502, Array)
#1 system/modules/core/elements/ContentText.php(72): Contao\Controller::addImageToTemplate(Object(Contao\FrontendTemplate), Array)
#2 system/modules/core/elements/ContentElement.php(265): Contao\ContentText->compile()
#3 system/modules/core/library/Contao/Controller.php(484): Contao\ContentElement->generate()
#4 system/modules/core/modules/ModuleArticle.php(213): Contao\Controller::getContentElement(Object(Contao\ContentModel), 'main')
#5 system/modules/core/modules/Module.php(287): Contao\ModuleArticle->compile()
#6 system/modules/core/modules/ModuleArticle.php(67): Contao\Module->generate()
#7 system/modules/core/library/Contao/Controller.php(417): Contao\ModuleArticle->generate(false)
#8 system/modules/core/library/Contao/Controller.php(277): Contao\Controller::getArticle(Object(Contao\ArticleModel), false, false, 'main')
#9 system/modules/core/pages/PageRegular.php(133): Contao\Controller::getFrontendModule('0', 'main')
#10 system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#11 index.php(20): Contao\FrontendIndex->run()
#12 {main}
@leofeyer leofeyer added this to the 3.5.22 milestone Jan 11, 2017
@leofeyer
Copy link
Member

leofeyer commented Jan 11, 2017

Siehe auch: 0448c4e

@leofeyer leofeyer modified the milestones: 3.5.22, 3.5.23 Jan 16, 2017
@leofeyer leofeyer added duplicate and removed defect labels Jan 17, 2017
@leofeyer leofeyer removed this from the 3.5.23 milestone Jan 17, 2017
@leofeyer leofeyer added defect and removed duplicate labels Jan 17, 2017
@leofeyer leofeyer reopened this Jan 17, 2017
@leofeyer leofeyer self-assigned this Jan 17, 2017
@leofeyer leofeyer added this to the 3.5.23 milestone Jan 17, 2017
@leofeyer
Copy link
Member

Fixed in bc22112.

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

No branches or pull requests

2 participants