TOPIC:

PHP 8 Issues Why? 3 weeks 3 days ago #274843

  • CotswoldD's Avatar Topic Author
  • CotswoldD
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 34
  • Thanks: 0
Hi Just upgraded my clients site to PHP 8 from PHP 7.4 but site crashes and gives me this error

count(): Argument #1 ($value) must be of type Countable|array, null given

Changed back now to PHP 7.4, but all my other components want me to use at least PHP 8

Whats going on with working with a higher PHP please.
What if I upgrade the site to Joomla 4 and what version PHP can be used?

Currently
Version - Joomla 3.10.9
Build - BreezingForms 1.9.1 Stable (build 941) - Configuration
PHP - 7.4

regards Pete

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

PHP 8 Issues Why? 3 weeks 3 days ago #274844

  • tihana.krivic's Avatar
  • tihana.krivic
  • Online
  • Moderator
  • Moderator
  • Posts: 10536
  • Karma: 3
  • Thanks: 705
Hi,

if you are on php 8, then please configure it like this:
crosstec.org/en/forums/41-breezingforms-...ty-issue.html#272386

5) step is how to fix your error

If you want I can do everything for you, just switch to php 8, and send me login information backend link

Use this tag:
[confidential]
[/confidential]

About joomla 4, we are working on update

Regards,
Tihana

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

PHP 8 Issues Why? 3 weeks 3 days ago #274845

  • CotswoldD's Avatar Topic Author
  • CotswoldD
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 34
  • Thanks: 0
I can do this but your link fails? whats the correct URL please?

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

PHP 8 Issues Why? 3 weeks 3 days ago #274846

  • tihana.krivic's Avatar
  • tihana.krivic
  • Online
  • Moderator
  • Moderator
  • Posts: 10536
  • Karma: 3
  • Thanks: 705
Hi,

the link is ok, but it is for Club forums, I will post here everything

here is what you need to do (this is for joomla 3 and bf for joomla 3 and php 8):

1) please go:
/administrator/components/com_breezingforms/libraries/crosstec/functions/
replace previous helpers.php with:

File Attachment:

File Name: helpers_20...6-09.zip
File Size:9 KB


2) please go:
/administrator/components/com_breezingforms/admin/
replace previous download.php with :

File Attachment:

File Name: download2_...6-09.zip
File Size:1 KB


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

File Attachment:

File Name: tcpdf_font...6-09.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:
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:

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

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.051 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!