TOPIC:

Compatibility with PHP 8? 3 weeks 23 hours ago #256495

  • Topic Author
  • gcom
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 101
  • Thanks: 0
I just upgraded my website to php 8 (8.0.3) and all I now get is Call to undefined function each().
When I enable debugging in Joomla it points me to JROOT/plugins/content/breezingforms/breezingforms.php:192

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

Compatibility with PHP 8? 3 weeks 21 hours ago #256501

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 4969
  • Karma: 3
  • Thanks: 356
Hi,

we need to fix this in further update.

But please go to JROOT/plugins/content/breezingforms/breezingforms.php.
Around line 192 replace:
reset($_REQUEST);
		foreach($_REQUEST as $prop => $val) {
			if (!is_array($val) && substr($prop,0,9)=='ff_param_')
				$ff_request[$prop] = $val;
		}
with this:
//		reset($_REQUEST);
		foreach($_REQUEST as $prop => $val) {
			if (!is_array($val) && substr($prop,0,9)=='ff_param_')
				$ff_request[$prop] = $val;
		}

Please let me know if it helps

Regards,
Tihana

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

Compatibility with PHP 8? 3 weeks 6 hours ago #256531

  • Topic Author
  • gcom
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 101
  • Thanks: 0
so basically I comment out reset($_REQUEST);?

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

Compatibility with PHP 8? 3 weeks 3 hours ago #256535

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 4969
  • Karma: 3
  • Thanks: 356
Hi,

yep. Please try this, and get back to me with the result :)

Regards,
Tihana

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

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.047 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

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

Special Offer

Summer 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!