Create Module with SPB gives an Error - Forum | JoomShaper
Staff replied SP Page Builder

Create Module with SPB gives an Error

Asked by Coldcut 5 years ago Last activity 3 years ago

If you create a module using the Pagebuilder and then want to save it, this error appears:
0 preg_match_all(): Argument #2 ($subject) must be of type string, stdClass given

The module is saved and also appears in the correct position.
But if you want to change it, the same error appears again.
The module will also not checked in.

Tested on Xampp
Joomla 3.9.27, SPB 3.7.11 Pro and PHP8

Same also with Joomla 4RC1

Perhaps it could also be a Joomla problem, as this error is also displayed with SPB 3.7.10 (not tested with a fresh SPB installation - only downgrade).

11 replies

Muntasir Sakib Staff

Hello there,

Please install the latest version of SPPB and try again. If the issue persists, please give us a screenshot of the exact problem so that we can understand the situation better.

Thanks!

Muntasir Sakib Staff

Hello there,

Please give your administrator access in the Hidden Content area so that we can have a look at our end.

Thanks!

Coldcut Asked this

This is difficult. I'ts not a live site. :/

But maybe a screenshot from Joomla 4 will help you. There is a Database problem with Pagebuilder.
https://prnt.sc/147d9pt
This is a new Test-Installation with J4RC1, SP PageBuilder 3.7.11 on PHP8

Coldcut Asked this

I think this is a problem with PHP8

With 7.4 it work correctly.

Yofie Setiawan

I experience the same. Switched back to PHP 7.4 and problem fixed... Unfortunately SPPB on PHP8 still have some bugs.

Muntasir Sakib Staff

It will be fixed from PHP end soon, hopefully.

Thanks!

Deleted user

Unfortunately still an issue with the Carousel!

Ofi Khan Staff

Hello FTmarketing

Please post a new question about this. We will check and assist you.

Best regards

dgu
3 years ago · edited

I have some issue
0 strpos(): Argument #1 ($haystack) must be of type string, stdClass given
I use php 8.1.0, Finion template and Joomla 4.0.4

Log in to reply.