Solved SP Page Builder

Getting error when export a page including SEO data and media

Asked by AECC Global 1 year ago Last activity 1 year ago

Hi,

I’m encountering a critical issue while trying to export pages with SEO and media data in SP Page Builder Pro on Joomla.

Joomla Version: 5.3.4
SP Page Builder Pro Version: 6.0

Issue Description:
When I attempt to export a page, I get the following error message on screen:
An error has occurred.
0 array_push(): Argument #1 ($array) must be of type array, null given
Call Stack

Function Location

1 () JROOT/administrator/components/com_sppagebuilder/editor/traits/ExportTrait.php:139
2 array_push() JROOT/administrator/components/com_sppagebuilder/editor/traits/ExportTrait.php:139
3 SppagebuilderControllerEditor->exportLayout() JROOT/administrator/components/com_sppagebuilder/editor/traits/ExportTrait.php:32
4 SppagebuilderControllerEditor->export() JROOT/libraries/src/MVC/Controller/BaseController.php:730
5 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_sppagebuilder/sppagebuilder.php:42
6 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
7 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
8 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:150
10 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:205
11 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:304
12 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:58
13 require_once() JROOT/administrator/index.php:32

Accepted answer

Marked as the solution
Ziaul Kabir Staff

On your pages, first hide the Zoho Form module and click Save. Then show the module again and save once more. After that, try to export — it should work. This issue may have occurred due to a SP Page Builder update, which might have caused the module to lose its database reference.

Please let me know the update.

Thanks.

5 more replies

Ziaul Kabir Staff

Hello,

Thanks for reaching out to us. Could you please share temporary administrator access to your Joomla backend? You can provide the credentials securely in the hidden content section. Also, please take a full backup of your site before we make any changes.

Once I have access, I’ll investigate further and see what’s causing the issue. Let me know once you’ve shared the details!

Best regards,

AECC Global Asked this

Please find the login in the hidden content

Ziaul Kabir Staff

Hello,

The issue seems to be coming from these modules. Please check whether any of them are broken, have other issues, or if they can be safely removed.

You should now be able to export with SEO and media data.

Thanks,

AECC Global Asked this

Hi,

Most of the pages we are using different Joomla module. So how we will proceed with Joomla module to export pages with SEO and media data?

AECC Global Asked this

Will try and let you know

Log in to reply.