Field 'params' doesn't have a default value

Phoca Guestbook - creating guestbooks in Joomla! CMS
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Field 'params' doesn't have a default value

Post by Jan »

Hi, hmm, hard to say what other can be wrong in the database :idea:

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

Tags:
laloly
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 31 Aug 2023, 18:08

Re: Field 'params' doesn't have a default value

Post by laloly »

ok, thanks for answering me.
Yours sincerely.
Valerie
chaldama
Phoca Member
Phoca Member
Posts: 17
Joined: 02 Sep 2019, 14:39

Re: Field 'params' doesn't have a default value

Post by chaldama »

Has this even been solved? I have exactly the same problem and tried the database fixes without any result. This is what I get in Joomla when I try to add a post

Code: Select all

danger
Save failed with the following error: Field 'params' doesn't have a default value

Notice: Trying to get property 'parent_id' of non-object in /home/kleine/nieuw.kleine-rijopleidingen.nl/administrator/components/com_phocaguestbook/models/phocaguestbook.php on line 132
Address
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Field 'params' doesn't have a default value

Post by Jan »

Hi, which version of Joomla and which version of Phoca Guestbook do you use? Did you install it or made some upgrade?
If you find Phoca extensions useful, please support the project
chaldama
Phoca Member
Phoca Member
Posts: 17
Joined: 02 Sep 2019, 14:39

Re: Field 'params' doesn't have a default value

Post by chaldama »

Hi I use Joomla version 4.4.0 and Phoca Guestbook 4.0.2. The site is almost finished and has been migrated from Joomla 3. Please see https://nieuw.kleine-rijopleidingen.nl/gastenboek.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Field 'params' doesn't have a default value

Post by Jan »

Hi, did you upgrade this way:
https://www.phoca.cz/documentation/86-j ... o-joomla-4

So the new version of Phoca Guestbook gets the required column format?

In case the column format is still wrong, the only way is to correct it: viewtopic.php?p=176999#p176999 (but hard to say what it does not work for you :-( )

BTW try to test it with latest Phoca Guestbook version:
https://github.com/PhocaCz/PhocaGuestbo ... .4Beta.zip

Jan
If you find Phoca extensions useful, please support the project
chaldama
Phoca Member
Phoca Member
Posts: 17
Joined: 02 Sep 2019, 14:39

Re: Field 'params' doesn't have a default value

Post by chaldama »

Hi Jan,

No, I upgraded within Joomla itself. So I disabled Phoca Guestbook in Joomla 3, migrated the site and installed the new Phoca Guestbook zip file. All seemed to work well and I could manually add the comment of 2022-07-11.

I already tried the database solution from the other forum post but it makes no difference.

The new version is installed now but still the same problem.

Kind regards,
Marloes
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Field 'params' doesn't have a default value

Post by Jan »

Hi, can you paste a screenshot of phpMyadmin, to see what options are set for the parameter column?
If you find Phoca extensions useful, please support the project
chaldama
Phoca Member
Phoca Member
Posts: 17
Joined: 02 Sep 2019, 14:39

Re: Field 'params' doesn't have a default value

Post by chaldama »

Hi Jan,

Sure, here it is:

https://imgur.com/a/khdPNDS

Kind regards,
Marloes
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Field 'params' doesn't have a default value

Post by Jan »

The screenshot is from table logging, not items.

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