close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array,

Thread begun 10/24/2022 11:04 pm by chriswedwardson439164 | Last modified 11/01/2022 9:21 am by Ray Borduin | 3373 views | 11 replies |

chriswedwardson439164

Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array,

I've recently moved hosting from a shared host to a VPS with PHP 8. When updating the cart the error below is returned... I'm not sure if this error is also linked to another issue as the cart no longer shows sub total and discounts. The grand total row shows only but it doesn't take into account the discounts. Any suggestions please?

Warning: Undefined property: eCart1_Definition::$Items in /home/domain/public_html/WA_eCart/WA_eCart_Definition_PHP.php on line 106

Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /home/domain/public_html/WA_eCart/WA_eCart_Definition_PHP.php:106 Stack trace: #0 /home/domain/public_html/cart.php(11): WA_eCartDefinition->CartUpdate() #1 {main} thrown in /home/domain/public_html/WA_eCart/WA_eCart_Definition_PHP.php on line 106

Sign in to reply to this post

Ray BorduinWebAssist

Can I get FTP access and a url to debug this? I'm not sure what would cause it. Maybe an issue with session variables on the site not working correctly?

Sign in to reply to this post
Did this help? Tips are appreciated...

chriswedwardson439164

Okay thanks, I'll setup ftp access.

Sign in to reply to this post

Ray BorduinWebAssist

It looks like you didn't set up folder access for that account properly. I can't get in to see any files even though the credentials seem to work.

Sign in to reply to this post
Did this help? Tips are appreciated...

chriswedwardson439164

I've double checked the ftp login details provided and they appear to work okay and can access the files. Could you please check again.

Sign in to reply to this post

Ray BorduinWebAssist

It hangs when retrieving the directory listing for me in both FileZilla and Dreamweaver.

Sign in to reply to this post
Did this help? Tips are appreciated...

chriswedwardson439164

There might be an issue with the transfer mode in FileZilla so can you please follow the steps from the attached screenshot i.e use Plain FTP and use Active mode for the transfer.

Sign in to reply to this post

chriswedwardson439164

Hello Ray, any update or resolution to this error please?

Sign in to reply to this post

Ray BorduinWebAssist

I'm able to get in through FTP now. How do I reproduce the error? Please include detailed steps and an explanation of what is happening vs what you want to happen so I can understand the issue.

Sign in to reply to this post
Did this help? Tips are appreciated...

chriswedwardson439164

You will need to add a product to the cart.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...