Deprecated message using breezing forms build 931

  • Delboy
  • Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 160
  • Karma: 1
  • Thank you received: 4

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: 3128
  • Karma: 105
  • Thank you received: 413

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
  • Gold Boarder
  • Gold Boarder
  • Posts: 160
  • Karma: 1
  • Thank you received: 4

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: 3128
  • Karma: 105
  • Thank you received: 413

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
  • Away
  • Moderator
  • Moderator
  • Already being the preferred Service Provider
  • Posts: 165
  • Karma: 73
  • Thank you received: 17

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: ForumSupport
Time to create page: 0.106 seconds

We Are Doing Our Part

Massive discounts on all of our extension subscription plans to help you and your business in these times.

Get Your Subscription Here

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!

News and Updates

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

All Extensions Subscription

We are doing our part and support your business with extremely low prices -- For example 6-Months-Subscription for only $9 USD. For as long as necessary.

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!