TOPIC:

Error message breezingforms.php on line 336? 3 years 1 month ago #238856

  • Topic Author
  • restore
  • Offline
  • New Member
  • New Member
  • Registered
  • Posts: 6
  • Thanks: 0
Good day,

I use the form and I find it very good.
Many thanks to the developers.
I've been using it for 3 years.
I have received an error message since this week
"Deprecated: The each () function is deprecated. This message will be suppressed on further calls in /var/www/vhosts/.../httpdocs/components/com_breezingforms/breezingforms.php on line 336"
Unfortunately I can not do anything with the error message.
What does the error message tell me? What should I do?
I have already looked in the admin area and everything is fine there.

Thanks in advance
restore

Please Log in or Create an account to join the conversation.

Error message breezingforms.php on line 336? 3 years 1 month ago #238861

  • mihaela
  • Offline
  • User is blocked
  • User is blocked
  • Registered
  • Posts: 3128
  • Thanks: 416
Hello,

I'm glad that you like our component. :)

We need to refacture some files to be compliant with newer PHP versions. This is rather a notice that an error message. It should not affect the BreezingForms functionality.

To remove the message, for now, you can go to System > Global Configuration and in the Server tab set the Error Reporting to None. Save the change and the notice should be gone.

If you do not want to set the Error reporting to None, here is how you can fix this in the code.

Please go to Joomla root/components/com_breezingforms/ folder and open the breezingforms.php around line 336.

Replace there this piece of code:
if ($my_ff_params) {
reset($_REQUEST);
while (list($prop, $val) = each($_REQUEST))
if (!is_array($val) && substr($prop,0,9)=='ff_param_')
$ff_request[$prop] = $val;
} // if
with this piece of code:
if ($my_ff_params) {
			// reset($_REQUEST);
			foreach($_REQUEST as $prop => $val) {
				if (!is_array($val) && substr($prop,0,9)=='ff_param_')
					$ff_request[$prop] = $val;
			}

Let me know whether this resolves the problem.

Regards,

Mihaela

Please Log in or Create an account to join the conversation.

Error message breezingforms.php on line 336? 3 years 1 month ago #238904

  • Topic Author
  • restore
  • Offline
  • New Member
  • New Member
  • Registered
  • Posts: 6
  • Thanks: 0
Hi there,

I made the change and now I get the following error message on the page

"syntax error, unexpected end of file"

Please Log in or Create an account to join the conversation.

Error message breezingforms.php on line 336? 3 years 1 month ago #238920

  • mihaela
  • Offline
  • User is blocked
  • User is blocked
  • Registered
  • Posts: 3128
  • Thanks: 416
Hello,

I apologize, there is a closing bracket missing.
if ($my_ff_params) {
			// reset($_REQUEST);
			foreach($_REQUEST as $prop => $val) {
				if (!is_array($val) && substr($prop,0,9)=='ff_param_')
					$ff_request[$prop] = $val;
			        }
                        }

This is the right code.

Let me know whether this is now working.

Regards,

Mihaela

Please Log in or Create an account to join the conversation.

Error message breezingforms.php on line 336? 3 years 1 month ago #238921

  • mihaela
  • Offline
  • User is blocked
  • User is blocked
  • Registered
  • Posts: 3128
  • Thanks: 416
Hello,

I apologize, there is a closing bracket missing.
if ($my_ff_params) {
			// reset($_REQUEST);
			foreach($_REQUEST as $prop => $val) {
				if (!is_array($val) && substr($prop,0,9)=='ff_param_')
					$ff_request[$prop] = $val;
			        }
                        }

This is the right code.

Let me know whether this is now working.

Regards,

Mihaela

Please Log in or Create an account to join the conversation.

Error message breezingforms.php on line 336? 3 years 1 month ago #238943

  • JasT
  • Offline
  • New Member
  • New Member
  • Registered
  • Posts: 8
  • Thanks: 0
Thanks, your new code now works for me also. No more notices on my error_log file. ;)

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: ForumSupport
Time to create page: 0.059 seconds

Support Discord

Join our Discord and enter the Crosstec channels for live-support, chat forums and directly interacting with the community!

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Subscribe to news and updates!

Special Offer

Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

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 and enter the Crosstec channels to receive live support and talk directly to the team!