# |
Dec 12th 2019, 16:01 |
ricksaccous |
good call that's prob it |
# |
Dec 12th 2019, 16:00 |
ricksaccous |
it was looking for the setTemplate widget XD |
# |
Dec 12th 2019, 16:00 |
neothermic |
which is why the errors didn't make sense! |
# |
Dec 12th 2019, 16:00 |
ricksaccous |
lol |
# |
Dec 12th 2019, 16:00 |
neothermic |
I ponder if the call function of formhelper tried to make a setTemplate input |
# |
Dec 12th 2019, 15:59 |
neothermic |
ooh! |
# |
Dec 12th 2019, 15:59 |
neothermic |
I ponder why it didn't complain about... oh.. |
# |
Dec 12th 2019, 15:56 |
ricksaccous |
awesome! |
# |
Dec 12th 2019, 15:55 |
neothermic |
100% better :) |
# |
Dec 12th 2019, 15:54 |
neothermic |
weird! |
# |
Dec 12th 2019, 15:54 |
neothermic |
aha, that fixed it |
# |
Dec 12th 2019, 15:53 |
ricksaccous |
good luck |
# |
Dec 12th 2019, 15:53 |
neothermic |
but we'll see |
# |
Dec 12th 2019, 15:53 |
neothermic |
sadly my target is 7.1... |
# |
Dec 12th 2019, 15:53 |
neothermic |
but I'm gonna throw down the gauntlet of "we must update" next month |
# |
Dec 12th 2019, 15:52 |
ricksaccous |
i still remember your plight |
# |
Dec 12th 2019, 15:52 |
ricksaccous |
hahaha |
# |
Dec 12th 2019, 15:52 |
neothermic |
yep! |
# |
Dec 12th 2019, 15:52 |
neothermic |
so I can't use anything higher because the PHP version requirement got bumped |
# |
Dec 12th 2019, 15:52 |
ricksaccous |
all for pdfs |
# |
Dec 12th 2019, 15:52 |
ricksaccous |
:( |
# |
Dec 12th 2019, 15:52 |
neothermic |
cause it's sadly still running on the same servers as the 2.x platform, which is currently still on 5.5 ¬_¬ |
# |
Dec 12th 2019, 15:51 |
neothermic |
it's part of the reason why I'm doing it in 3, I refused to write this new huge system in an old version of cake |
# |
Dec 12th 2019, 15:51 |
ricksaccous |
then why not use latest cake XD |
# |
Dec 12th 2019, 15:51 |
ricksaccous |
oh lol |
# |
Dec 12th 2019, 15:51 |
neothermic |
oh, this is a new property. the old huge app is still on 2.x :) |
# |
Dec 12th 2019, 15:51 |
ricksaccous |
keep going |
# |
Dec 12th 2019, 15:51 |
neothermic |
first rule of troubleshooting: make no assumptions |
# |
Dec 12th 2019, 15:51 |
ricksaccous |
also it's amazing you're getting your huge app that far up in cake versions |
# |
Dec 12th 2019, 15:50 |
neothermic |
I'll try it the pre 3.4 way |
# |
Dec 12th 2019, 15:50 |
neothermic |
yeah, hmm |
# |
Dec 12th 2019, 15:50 |
ricksaccous |
but then wouldn't it whine the method doesn't exist |
# |
Dec 12th 2019, 15:50 |
ricksaccous |
lol |
# |
Dec 12th 2019, 15:50 |
neothermic |
I think I'm using pre 3.4 |
# |
Dec 12th 2019, 15:50 |
neothermic |
ooh, hmm, wait |
# |
Dec 12th 2019, 15:50 |
ricksaccous |
also that is a peculiar error |
# |
Dec 12th 2019, 15:48 |
ricksaccous |
pretty sure you knew that already though |
# |
Dec 12th 2019, 15:48 |
neothermic |
yeah, but if I enable that setTemplates line, I get errors that start with: ```substr() expects parameter 1 to be string, array given [CORE/src/View/Helper/FormHelper.php, line 2472]``` |
# |
Dec 12th 2019, 15:47 |
ricksaccous |
i do that plugin-wide for my theme |
# |
Dec 12th 2019, 15:47 |
ricksaccous |
that works, if all you're doing is literally changing a default template you could also do that sitewide |
# |
Dec 12th 2019, 15:45 |
neothermic |
the date widget template does have the various {{day}} {{month}} etc things in it; I copied the default one and just changed the order to be DMY rather than YMD :P |