_vars ) && $view->_vars != ""){ $this->_vars = &$view->_vars; } $this->data = ""; if(isset($view->data ) && $view->data!= ""){ $this->_vars = &$view->data; }​​is it posible to add this to the plugin?"> Chronoforms 6 Deprected Warrnings and Notices - Forums

Forums

Chronoforms 6 Deprected Warrnings and Notices

Collie-IT 22 Jun, 2020
Dir Sir and Madam,

I receive following messages multiple times
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/wordpress/wp-content/plugins/chronoforms6/cegcore2/gcloader.php on line 63

In PHP 7.0 get_magic_quotes_gpc() is not maintend and included anymore. It is posible to remove this block from cegcore2/gcloader.php ?
if(get_magic_quotes_gpc()){
function stripslashes_gpc(&$value){
$value = stripslashes($value);
}
array_walk_recursive($_GET, 'stripslashes_gpc');
array_walk_recursive($_POST, 'stripslashes_gpc');
array_walk_recursive($_COOKIE, 'stripslashes_gpc');
array_walk_recursive($_REQUEST, 'stripslashes_gpc');
}

Warning: Creating default object from empty value in /var/www/html/wordpress/wp-content/plugins/chronoforms6/cegcore2/libs/helper.php on line 22


cegcore2/libs/helper.php on line 22 could maybe fixed with
 $this->_vars ="";
if(isset($view->_vars ) && $view->_vars != ""){
$this->_vars = &$view->_vars;
}
$this->data = "";
if(isset($view->data ) && $view->data!= ""){
$this->_vars = &$view->data;
}


is it posible to add this to the plugin?
Max_admin 22 Jun, 2020
Please try the new v7 RC2 on WP, does it have the same issues ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Collie-IT 22 Jun, 2020
The issue with v7RC2 is that I get an page not found error.
Collie-IT 22 Jun, 2020
When I Open Chronoforms 7 Main menu item.
Max_admin 23 Jun, 2020
in the admin area ? do you have any 3rd party plugins installed ? what is your WP version ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Collie-IT 23 Jun, 2020
I run a WP 5.4.2 instance.
I see this in the Admin area:

Following Plugins are installed:


Remark chronoforms 6 will not be included on frontend pages after upgrade to php version 7.4.3
Max_admin 23 Jun, 2020
I'm not exactly sure what might be causing this, but if you can send me login details by PM then I can try to test it myself!
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Collie-IT 23 Jun, 2020
I am affraid, that is not posible. Can you me say what I am looking for?
Max_admin 23 Jun, 2020
then you may send me a message using the "Contact" page and I will send you a patch file which you will need to upload in the Chronoforms plugin folder (I will give you path) so that I can debug this issue!

What address is in your browser when you get the "Page not found" error ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
timterhorst 27 Sep, 2021
Thank you so much Collie-IT !
I upgraded from PHP 7.3 as it will become unsupported soon and ran into the magic quotes fatal error. spent hours and hours to find a solution but yours did it.
In my case it is a Joomla installation but works the same.
One minor correction: there's a typo in the second part of your code, should be like this:
 $this->data = "";
if(isset($view->data ) && $view->data != ""){
$this->data = &$view->data;
This topic is locked and no more replies can be posted.