Error when trying to publish/unpublish/delete a post

Phoca Guestbook - creating guestbooks in Joomla! CMS
LORDSAVEX
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 17 Feb 2023, 13:14

Error when trying to publish/unpublish/delete a post

Post by LORDSAVEX »

Hello!

When you try to publish/unpublish/delete a message through the front of the site, it gives an error, did it under "Super Users" account. Please help me figure it out.

Here is the text of the error:

Code: Select all

count(): Argument #1 ($value) must be of type Countable|array, int given
And more debug information from Joomla:
https://i.imgur.com/64Hwfvm.jpg

Joomla - 3.10.11
Phoca Guestbook - 3.0.12
PHP - 8.0.13
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error when trying to publish/unpublish/delete a post

Post by Jan »

Hi, see:
https://www.phoca.cz/blog/1208-using-php-version-8-1

In this case, this is the same for the PHP 8.0 version.

Jan
If you find Phoca extensions useful, please support the project
Post Reply