Deprecated message using breezing forms build 931

  • Delboy
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 149
  • Thank you received: 0

Delboy created the topic: Deprecated message using breezing forms build 931

Can anyone shed any light on this error message, the site is working normally and this message only shows up for a split second when the form is submitted. This message only shows when Joomla server setting has error reporting set to MAX.

Message reported
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in: components/com_breezingforms/facileforms.process.php on line 8639

Below is the code on line 8639
reset($ff_otherparams);
while (list($prop, $val) = each($ff_otherparams))
echo indentc(1) . '<input type="hidden" name="' . htmlentities($prop, ENT_QUOTES, 'UTF-8') . '" value="' . htmlentities($val, ENT_QUOTES, 'UTF-8') . '"/>' . nl();
break;


Joomla 3.9.3
Breezing forms: 1.9.0 build 931
#234389
  • Posts: 2571
  • Karma: 87
  • Thank you received: 344

mihaela replied the topic: Deprecated message using breezing forms build 931

Hello,

That is not an error, but a notice. The code will be re-factured for PHP 7.2 in our next update.

You can remove this notice by replacing code:
while (list($prop, $val) = each($ff_otherparams))
echo indentc(1) . '<input type="hidden" name="' . htmlentities($prop, ENT_QUOTES, 'UTF-8') . '" value="' . htmlentities($val, ENT_QUOTES, 'UTF-8') . '"/>' . nl();
break;
with the following:
foreach($ff_otherparams as $prop => $val) {
						echo indentc(1) . '<input type="hidden" name="' . htmlentities($prop, ENT_QUOTES, 'UTF-8') . '" value="' . htmlentities($val, ENT_QUOTES, 'UTF-8') . '"/>' . nl();
					}

Let me know whether this removes the notice.

Regards,

Mihaela
#234392
The following user(s) said Thank You: Delboy
  • Delboy
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 149
  • Thank you received: 0

Delboy replied the topic: Deprecated message using breezing forms build 931

Thank you for your reply. Always impressed with the support team. I have updated facileforms.process.php as per your code and it worked. Attached is a screen grab of what I have done.

Thanks gain it worked perfectly.
#234396
Attachments:
  • Posts: 2571
  • Karma: 87
  • Thank you received: 344

mihaela replied the topic: Deprecated message using breezing forms build 931

Hello again,

Thank you for the kind words.

I'm glad I've helped and that it removed the notice. :)

Regards,

Mihaela
#234398
  • Posts: 6
  • Thank you received: 0

Götte replied the topic: Deprecated message using breezing forms build 931

Hello folks,
I have this Problem too. Im using a free version and the error occurs in line 192. Can somebody give me an idea how to fix this problem?
Thank you
#235926
  • gwsdesk
  • gwsdesk's Avatar
  • Offline
  • Moderator
  • Moderator
  • Already being the preferred Service Provider
  • Posts: 134
  • Karma: 73
  • Thank you received: 10

gwsdesk replied the topic: Deprecated message using breezing forms build 931

Götte set error reporting in Jooomla's global configuration to "none" and these kind of messages won't show

Leo 8)

Breezingforms Professional Support Services :: gws-desk.com/extensions-support/breezingforms-support
Joomla Specialized Hosting :: gws-host.com
Joomla Specialized Webmaster Services : Hire Your Webmaster! :: gws-webmaster.services
Member of the Joomla Bug Squad & Joomla CMS - Release Team
#235947
Moderators: ForumSupporttomeperica
Time to create page: 0.214 seconds

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here