TOPIC:

Bugs with php 8.x installing Breezeforms 939 7 months 3 weeks ago #272306

  • Topic Author
  • alskdfas
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 1
  • Thanks: 0
Hi there,

I'm having the following bugs installing Breezeforms (build 939) under Joomla! 3.10.0 and php 8.0.17:
  1. 0 Call to undefined function get_magic_quotes_gpc(). This could be worked-around by manually overwriting helpers.php as you described here somewhere. When will this fix be available through the J-installer?
  2. In "Installation Step 2" however, i run into error "0 count(): Argument #1 ($value) must be of type Countable|array, null given". What can I do to fix that? If possible, repeatable through the J-installer?

Thanks a lot!
Ben

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

Bugs with php 8.x installing Breezeforms 939 7 months 3 weeks ago #272308

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

here is what you need to do to fix bf for php 8:
1) go to:
/administrator/components/com_breezingforms/libraries/crosstec/functions/
replace previous helpers.php file with this:

File Attachment:

File Name: helpers_ne...4-06.zip
File Size:9 KB


2) go to:
/administrator/components/com_breezingforms/admin/
replace download.php file with:

File Attachment:

File Name: download2_...4-06.zip
File Size:1 KB


3) go to:
/administrator/components/com_breezingforms/libraries/tcpdf/include/
replace tcpdf_fonts.php with:

File Attachment:

File Name: tcpdf_font...4-06.zip
File Size:20 KB


4) in Manage Pieces, find script: ff_makePageUrl

In this line of code:
if ($len > 0 && $url{$len-1} != '/') $url .= '/';
replace {} with []

like this:
if ($len > 0 && $url[$len-1] != '/') $url .= '/';

5) about this error:
0 count(): Argument #1 ($value) must be of type Countable|array, null given

Please go to:
\administrator\components\com_breezingforms\admin.breezingforms.php
in line 1129 you will see this:
  if (@count($oldscripts))
change it to:
 if (@count(array($oldscripts)))
and in line 1144 you will see:
 if (@count($oldpieces))
change it to:
if (@count(array($oldpieces)))

Just follow those steps and everything will be fine.

If you get in stuck let me know and I will do it for you :)

P.S: please don't forget to unzip attachments

Regards,
Tihana
Attachments:
The following user(s) said Thank You: Jordan

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

Last edit: Post by tihana.krivic.
  • 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!