Buy Now
Sign in

Chronoforms 6 Deprected Warrnings and Notices

Collie-IT , June 22 2020, 11:33
C
Collie-IT 96
June 22 2020, 11:33 #393200
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?
admin 33
June 22 2020, 14:34 #393202
Please try the new v7 RC2 on WP, does it have the same issues ?
C
Collie-IT 96
June 22 2020, 16:02 #393205
The issue with v7RC2 is that I get an page not found error.
C
Collie-IT 96
June 22 2020, 16:03 #393206
When I Open Chronoforms 7 Main menu item.
admin 33
June 23 2020, 02:17 #393210
in the admin area ? do you have any 3rd party plugins installed ? what is your WP version ?
C
Collie-IT 96
June 23 2020, 06:30 #393213
I run a WP 5.4.2 instance.
I see this in the Admin area:
2020-06-23_08h21_54.png
Following Plugins are installed:
2020-06-23_08h19_48.png
Remark chronoforms 6 will not be included on frontend pages after upgrade to php version 7.4.3
Attachments
2020-06-23_08h19_48.png
2020-06-23_08h19_48.png
(49.65 KiB)
332 Downloads/Views
2020-06-23_08h21_54.png
2020-06-23_08h21_54.png
(12.81 KiB)
334 Downloads/Views
admin 33
June 23 2020, 14:23 #393216
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!
C
Collie-IT 96
June 23 2020, 14:28 #393218
I am affraid, that is not posible. Can you me say what I am looking for?
admin 33
June 23 2020, 14:37 #393219
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 ?
T
timterhorst 1
September 27 2021, 20:46 #397150
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;