Closed flipzoom closed 1 year ago
@FlipZoomMedia Thanks, I've pushed a fix for this.
Thanks, works.
Hi @ryancramerdesign, sorry, problem not solved after all, now in another place. When I edit a page where a TinyMCE field is placed, this now comes up.
Excuse me… Fatal Error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in site/modules/InputfieldTinyMCE/InputfieldTinyMCEFormats.php:416
#0 site/modules/InputfieldTinyMCE/InputfieldTinyMCEFormats.php (416): strpos()
#1 site/modules/InputfieldTinyMCE/InputfieldTinyMCESettings.php (78): InputfieldTinyMCEFormats->getInvalidStyles()
#2 site/modules/InputfieldTinyMCE/InputfieldTinyMCESettings.php (624): InputfieldTinyMCESettings->getSettings()
#3 site/modules/InputfieldTinyMCE/InputfieldTinyMCE.module.php(591): InputfieldTinyMCESettings->applyRenderReadySettings()
#4 wire/core/InputfieldWrapper.php (1069): InputfieldTinyMCE->renderReady()
#5 wire/core/Wire.php (419): InputfieldWrapper->___renderInputfield()
#6 wire/core/WireHooks.php (952): Wire->_callMethod()
#7 wire/core/Wire.php (484): WireHooks->runHooks()
#8 wire/core/InputfieldWrapper.php (768): Wire->__call()
#9 wire/core/Wire.php (413): InputfieldWrapper->___render()
#10 wire/core/WireHooks.php (952): Wire->_callMethod()
#11 wire/core/Wire.php (484): WireHooks->runHooks()
#12 wire/core/InputfieldWrapper.php (1096): Wire->__call()
#13 wire/core/Wire.php (419): InputfieldWrapper->___renderInputfield()
#14 wire/core/WireHooks.php (952): Wire->_callMethod()
#15 wire/core/Wire.php (484): WireHooks->runHooks()
#16 wire/core/InputfieldWrapper.php (768): Wire->__call()
#17 wire/modules/Inputfield/InputfieldForm.module (187): InputfieldWrapper->___render()
#18 wire/core/Wire.php (413): InputfieldForm->___render()
#19 wire/core/WireHooks.php (952): Wire->_callMethod()
#20 wire/core/Wire.php (484): WireHooks->runHooks()
#21 wire/modules/Process/ProcessPageEdit/ProcessPageEdit.module (609): Wire->__call()
#22 wire/modules/Process/ProcessPageEdit/ProcessPageEdit.module (575): ProcessPageEdit->renderEdit()
#23 wire/core/Wire.php (413): ProcessPageEdit->___execute()
#24 wire/core/WireHooks.php (952): Wire->_callMethod()
#25 wire/core/Wire.php (484): WireHooks->runHooks()
#26 wire/core/ProcessController.php (350): Wire->__call()
#27 wire/core/Wire.php (413): ProcessController->___execute()
#28 wire/core/WireHooks.php (952): Wire->_callMethod()
#29 wire/core/Wire.php (484): WireHooks->runHooks()
#30 wire/core/admin.php (160): Wire->__call()
#31 site/templates/admin.php (18): require('...')
#32 wire/core/TemplateFile.php (328): require('...')
#33 wire/core/Wire.php (413): TemplateFile->___render()
#34 wire/core/WireHooks.php (952): Wire->_callMethod()
#35 wire/core/Wire.php (484): WireHooks->runHooks()
#36 wire/modules/PageRender.module (575): Wire->__call()
#37 wire/core/Wire.php (416): PageRender->___renderPage()
#38 wire/core/WireHooks.php (952): Wire->_callMethod()
#39 wire/core/Wire.php (484): WireHooks->runHooks()
#40 wire/core/WireHooks.php (1060): Wire->__call()
#41 wire/core/Wire.php (484): WireHooks->runHooks()
#42 wire/modules/Process/ProcessPageView.module (184): Wire->__call()
#43 wire/modules/Process/ProcessPageView.module (114): ProcessPageView->renderPage()
#44 wire/core/Wire.php (416): ProcessPageView->___execute()
#45 wire/core/WireHooks.php (952): Wire->_callMethod()
#46 wire/core/Wire.php (484): WireHooks->runHooks()
#47 index.php (55): Wire->__call()
#48 {main}
thrown (line 416 of site/modules/InputfieldTinyMCE/InputfieldTinyMCEFormats.php)
Thanks @FlipZoomMedia I've pushed another update to correct this.
I have just installed TinyMCE in a very fresh installation to test it and unfortunately run into a fatal error. Possible problem: I have deactivated all checkboxes, i.e. no default settings. I wanted to set these individually for each field.
PW: 3.0.207 dev TinyMCE: v6.0.8 Beta PHP: 8.1.13