TOPIC:

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

  • Topic Author
  • alskdfas
  • Offline
  • New Member
  • New Member
  • Registered
  • 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 11 months 3 weeks ago #272308

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Registered
  • Posts: 12079
  • Thanks: 780
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, peterhulst

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

Last edit: Post by tihana.krivic.

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

  • peterhulst
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • Posts: 20
  • Thanks: 1
Hello,

I am very satisfied with your help. Now I can use PHP 8.1 with Joomla 3.10.11

Best regards,
Peter

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

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

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Registered
  • Posts: 12079
  • Thanks: 780
Hi,

perfect, if you need anything else, feel free to ask

Regards,
Tihana

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

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

Support Chat

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

After joining, please enter the Crosstec Area and use the #crosstec-support or #crosstec-general channels.

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!