After installing chronoforms 7 on Joomla, other extensions stop working.

Resolve ChronoForms 7 plugin conflict causing other Joomla extensions to fail.

Overview

The ChronoG3_Plg plugin in CF v7.0.0 causes a fatal error by calling a missing 'GApp3' class, breaking extensions like Regular Labs Sourcerer.
Update ChronoForms to version 7.0.8 or later from the update server, which fixes the plugin code, or consider migrating to a maintained alternative like ChronoForms v8.

Answered
ChronoForms v7
hi hirata 07 Mar, 2021
After installing chronoforms 7 on Joomla, "Regular Labs --Extension Sourcerer" gives the following error and it stops working.
Error message: "Class 'GApp3' not found"
The cause seems to be the plugin "ChronoG3_Plg".
If I disable the plugin "ChronoG3_Plg", "Regular Labs --Extension Sourcerer" works fine.
Please tell me how to resolve.

Joomla version 3.9.25
PHP version 7.4.13
ki kingb 14 May, 2021
Bump - seeing this behavior as well. Any fix on the horizon?
hi hirata 08 Aug, 2021
After investigating this bug, it seems that there is probably a problem with the following program.

/plugins/system/chronog3_plg/chronog3_plg.php

If you change the "onAfterRender ()" of this program as follows, the error display will disappear.

/ * original code
public function onAfterRender () {
$ app = JFactory :: getApplication ();
$ doc = \ GApp3 :: document ();

$ html = $ app-> getBody ();
.
$ html = str_replace ('', $ doc-> buildMediaOutput ().'', $ html);
$ app-> setBody ($ html);
}
* /

// chaged 20210726
public function onAfterRender () {
if (class_exists ('GApp3')) {
$ app = JFactory :: getApplication ();
$ doc = \ GApp3 :: document ();
.
$ html = $ app-> getBody ();
.
$ html = str_replace ('', $ doc-> buildMediaOutput ().'', $ html);
$ app-> setBody ($ html);
}
}
//
hi hirata 10 Dec, 2021
This fix is a temporary fix.

There are still many bugs in chronoforms besides this issue.

Since the development of chronoforms has stopped, we cannot expect the release of a new fixed version by the developer.
The prospect of being available for Joomla4 is also hopeless.

So I looked for an extension to replace chronoforms.
As a result, I found Convert Forms.
It is already compatible with Joomla4.

I decided to migrate the forms created by chronoforms to Convert Forms.
Co Colnem 10 Dec, 2021
Hi
Unfortunally, Convert Forms can't read, insert, update or delete records on your SQL tables. You have to use a personal PHP code to do that...
Good luck!
Gr GreyHead 10 Dec, 2021
Hi hirata,

Max released a Joomla 4 version of CFv7 a few days ago - please check his post in News.

Bob
hi hirata 11 Dec, 2021
Hi GreyHead.

Thank you for the latest information.

I have purchased chronoforms7 and installed it on my site.
However, the version is still 7.0.0 (May 2020) downloaded at the time of purchase and cannot be updated after that.
There seems to be a bug in the update function of chronoform7 or the update server, and it is not working properly.

When I check the XML code of the update server, it seems that the version has been updated to 7.0.8 .
I downloaded it from the update server and installed it.
I confirmed that the bug in the "ChronoG3_Plg" plugin has been fixed.

So far, chronoform7 has a lot of bugs and I haven't used it for live sites.
For the time being, I'll test it with this version.
hi hirata 11 Dec, 2021
Hi Colnem.

As you pointed out, ConvertForms requires embedding php code to write to and read from database tables, but the Joomla API makes it easy to embed with php code.
Max_admin Max_admin 31 Oct, 2023
Answer

ChronoForms does not require PHP to read or save data to database as ConvertForms does, also ChronoForms v8 is much easier to use than v7 and does not need any code fixes

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.