Forums

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

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
kingb 14 May, 2021
Bump - seeing this behavior as well. Any fix on the horizon?
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);
}
}
//
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.
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!
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
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.
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.
Colnem 11 Dec, 2021
Not for me !!!
You need to login to be able to post a reply.