Forums

chronoform 6 won't work after update to php 7.3.12

info@rswebmaster.nl 04 Dec, 2019
All of my chronoform 6 forms won't work anymore afther update from php 7.2.25 to php 7.3.12 in joomla 3.9.13.
when you have fill'd in the form en will send it this came on the screen "Pleaseset some HTML first before calling emogrify".
The problem is foun on more websites. Nothing has chanched to the websites accept the php version. When i'll put the php version back the problem is gone. so it must be in php 7.3.12.
does someone know how to fix this.
greatings from the Netherlands Robert Stoesser
info@rswebmaster.nl 04 Dec, 2019
now i have installed php 7.4.0 and it have also a problem . afther click on "send" you get a blanc screen.
healyhatman 04 Dec, 2019
Set your site to debug and set error reporting to maximum, then tell us what the errors shown are.
info@rswebmaster.nl 06 Dec, 2019
thank you Healyhatman for your support.
with debug en report i'll get these 2 messages
Warning: Creating default object from empty value in /var/www/vhosts/boekdekerstman.nl/httpsdocs/libraries/cegcore2/libs/helper.php on line 22


Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/boekdekerstman.nl/httpsdocs/templates/boekdekerstman34/functions.php on line 196


So you see in the url in these warnings that I am a little helper of Santa Claus so its the most busy time off the year for me.
with seasons greatings tho everyone.
Max_admin 06 Dec, 2019
So what exactly is not working ? the form is not displayed or only the email is not sent ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
info@rswebmaster.nl 06 Dec, 2019
a blank screen appears with only the text: "Pleaseset some HTML first before calling emogrify". is there no one who has the same problems with a joomla website under php 7.3.12 or 7.4.0.
healyhatman 06 Dec, 2019
Answer
1 Likes
Turn off the advanced template option in the email action.
Alistair 24 Jan, 2020
Same issue here after updating to PHP 7.3, now forms don't work and land on page:

Error: 0


You may not be able to visit this page because of:
  1. an out-of-date bookmark/favourite
  2. a search engine that has an out-of-date listing for this site
  3. a mistyped address
  4. you have no access to this page
  5. The requested resource was not found.
  6. An error has occurred while processing your request.


Please try one of the following pages:
  • Home Page
  • Search this site


If difficulties persist, please contact the System Administrator of this site and report the error below..
Alistair 24 Jan, 2020
Ok this was solved by unticking in the email action box "Apply advanced template parsing and style".
healyhatman 24 Jan, 2020
Just like the response marked "answer"
marald 31 Jan, 2020
Still same problem here on a website. When choosing PHP 7.3 chronoforms 6 stops working. Setting the directadmin back to 7.1 and everything works.

I've checked the setting of "Apply advanced template parsing and style" and it is not enabled on the emails.

Any other users that ran in this issue and maybe have a solution?

I don't want to downgrade all my forms to chronoforms 5 to make them work.
joachimliedtke 15 Apr, 2020
Is this going to be fixed in the next version? It is just a warning, but pointing to something wrong here. PHP = 7.4.3
Warning:  Creating default object from empty value in /xxx/libraries/cegcore2/libs/helper.php on line 22
Line 22 reads
$this->_vars = &$view->_vars;
I suppressed the warning, but this can't be a solution.
perlfan 15 May, 2020
Switching back to PHP 7.1 helped me ...
joachimliedtke 15 May, 2020
For some reasons I can't downgrade to a lower PHP version.
Max_admin 15 May, 2020
on which pages does this error appears ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 15 May, 2020
quick fix:
surround the 3 lines with $viewer with the following lines:

if($viewer){

and

}

or wait for the new update!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 15 May, 2020
But if your problem is the warning only then just set error reporting to none in your site config!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
HCH 23 May, 2020
When is the new update expected to be released?
Regards,
Hans-Christian
Max_admin 23 May, 2020
Does this issue occur when you try v7 ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
HCH 23 May, 2020
No, I use V6
Max_admin 23 May, 2020
Could you please try v7 beta3 and check if the same issue occurs ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
HCH 24 May, 2020
Sorry, this is not possible because I am using V6. I am waiting for a solution for V6, not for V7.
Max_admin 24 May, 2020
did you try to disable the "Advanced template parsing" in the email settings ? did you disable error reporting in Joomla global config ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
HCH 24 May, 2020
Hello,

I already disabled error reporting in Joomla global config. But from my point of view this cannot be the solution (see also http://www.chronoengine.com/forums/posts/t107862/p392006/chronoform-6-wont-work-after-update-to-php-7-3-12?startat=0#p392006 by joachimliedtke)

I switched back from PHP 7.4 to PHP 7.3. Now the error message no longer appears.

Regards,
Hans-Christian
Max_admin 01 Jun, 2020
we have 2 issues, the bug with the "advanced email template", this can be fixed by disabling this setting, which is the default in the latest v6

The other issue is some warnings, to be fixed in the next v6 update, which occurs only on PHP 7.4 but can be avoided by disabling "error reporting" in Joomla global config!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mendlerdesign 19 Jul, 2020
Hi!
We have a same problem. When we update php 7.3.6 to 7.4.3 every form page show this:


Fatal error: Uncaught TypeError: Argument 1 passed to
plgSystemReDJ::customException() must be an instance of Exception,
instance of ParseError given in
/web/y-mypage-y/plugins/system/redj/redj.php:673
Stack trace:
#0 [internal function]:
plgSystemReDJ::customException(Object(ParseError))
#1 {main}
thrown in /web/y-mypage-y/plugins/system/redj/redj.php on line 673
Max_admin 20 Jul, 2020
1 Likes
this is not related to Chronoforms and you should ask the develiper of that plugin!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Liesbeth 13 Dec, 2021
On one of my sites, I also have some issues with conditional logic with PHP 7.4 and v6, when turning back to 7.3 the problem is gone.
Error reporting in general joomla settings as well as advanced template parsing and styles are turned off.

Could you tell me if there's already an update? How can I see this, do you have a version que?

If I need to switch to v7, how can I migrate the form?

Lots of questions, hope you can help me.
Thanks in advance.

Liesbeth
GreyHead 13 Dec, 2021
Hi Liesbeth,

So far there is no revised version of CFv6 and no automatic way to upgrade v6 forms to v7 :-(

Please check this FAQ which has fixes for some V6 issues.

Bob
OlliMuc 05 Feb, 2022
Where do I have to place the code exactly?
I've just tried reinstalling the latest CF6 version, the helper.php hasn't changed since then. My error log explodes, my entire webspace including all the other domains not using CF6 is slowed down considerably. Please provide instructions on how to alter helper.php exactly to resolve this issue. Thanks.
This topic is locked and no more replies can be posted.