Call To Undefined Method JFalangDatabase::query() - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Call To Undefined Method JFalangDatabase::query()

M

Marcin

SP Page Builder 2 years ago

Hello, after trying to edit article there are errors Call to undefined method JFalangDatabase::query() . Can SP Page Builder work with Falang ? Joomla 4 / PHP 8.1.

To fix error "Call to undefined method JFalangDatabase::query()" just replace query() to execute().

0
7 Answers
M
Marcin
Accepted Answer
2 years ago #109237

When I turn off FaLang i get Call to undefined method Joomla\Database\Mysqli\MysqliDriver::query()

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #109241

Czesc Marcin,

Talk with Falang support this time. Is not our product.

0
M
Marcin
Accepted Answer
2 years ago #109246

I removed all Falang components and now I have error: Call to undefined method Joomla\Database\Mysqli\MysqliDriver::query() after edit from CMS. So its SP bug now ?

System redirect me to link like that https://pip.webster-studio.pl/index.php?option=com_users&view=login&return=aHR0cHM6Ly9waXAud2Vic3Rlci1zdHVkaW8ucGwvY29tcG9uZW50L3NwcGFnZWJ1aWxkZXIvZWRpdC8xP2V4dGVuc2lvbj1jb21fY29udGVudCZleHRlbnNpb25fdmlldz1hcnRpY2xl

Call to undefined method Joomla\Database\Mysqli\MysqliDriver::query()

0
M
Marcin
Accepted Answer
2 years ago #109249

System try to login at frontend (error gone after logon on front)- is there possibility to user SP Page Builder only in backend, please ?

I want to view only article section, not all site.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #109275

SPPB can work with Joomla 4.2.x

It can be problem with login view - probably overriden by template.

rename inside template folder /html/com_users/login

"login" >> "==login" and recheck.


Template may not work with PHP 8.1, you have to check / remind when the problem started, what have you done before. This is key information, that I don't have

0
M
Marcin
Accepted Answer
2 years ago #109285

I dont have any html/com_users in our template so its load core login. Template is our and written fresh to PHP 8.1.

Can we load PB editor just inside article https://pip.webster-studio.pl/aktualnosci/kategoria-1/nowa-aktualnosc ?

Now after edit from CMS - home page appear. The best will be edit just in CMS. We need that only for core article edit.

0
M
Marcin
Accepted Answer
2 years ago #125557

To fix error "Call to undefined method JFalangDatabase::query()" just replace query() to execute().

0