Problem exporting layouts with SP PageBuilder - Forum | JoomShaper
Awaiting an answer SP Page Builder

Problem exporting layouts with SP PageBuilder

Asked by Giuseppe 6 months ago Last activity 6 months ago

Good evening, I'm having a problem with SP PageBuilder PRO. As soon as I try to export a layout, it doesn't create the zip file, but instead displays an error (I've attached an error image). I think I've done this several times before and never had any problems. The only thing that changed was the SP PageBuilder 6.3.2 update. Can you help me?

Site: https://osteopata.giuseppecento.eu/

4 replies

Rashida Rahman Staff

Hi there!

Thank you for sharing the exact error.

During export, it seems one of the page assets is being passed as an object instead of a string path, which leads to this error:

pathinfo(): argument #1 ($path) must be of type string, stdClass given

As a temporary workaround, please try the following:

  • Remove recently added custom icons, media files, or unusual addons from the page
  • Check if there is any addon using a file field with an empty or broken value
  • Try exporting a very simple test page
  • Duplicate the problematic page and remove sections one by one until the export works
  • Temporarily switch PHP to 8.1 or 8.2 and test again

This will help identify which section or addon is causing the object value during export.

Or, you can give me your admin access to check the issue for you.

Best regards,

Giuseppe Asked this

I'll update you on the situation. First of all, I can assure you that before updating SP PageBuilder from version 6.3.1 to version 6.3.2, everything was working perfectly.
After several tests, I've determined when the error page appears. The tests I've done are:
1 - Export without including SEO data and media data // WORKS
2 - Export including only SEO data // WORKS
3 - Export including only media data // WORKS
4 - Export including SEO data and media data // DOESN'T WORK (Error Page)
All these tests were done with 3 versions of PHP: 8.1 - 8.2 - 8.3

I'm attaching a screenshot:
https://osteopata.giuseppecento.eu/error/image19.png
https://osteopata.giuseppecento.eu/error/image20.png
https://osteopata.giuseppecento.eu/error/image21.png
https://osteopata.giuseppecento.eu/error/image22.png

Rashida Rahman Staff

Hello,

I hope you’re doing well. I’m sorry for the experience you’ve had so far.

To look into this issue more closely, could you please share temporary Super Admin access (inside the hidden content box)? I’ll check this and update you as soon as possible.

Please make sure to keep a full site backup before sharing the credentials, just to be safe.

Best regards,

Giuseppe Asked this

I haven't heard anything about the problem I reported. I even gave you the superuser access keys, as you requested. Were you able to figure out the cause of the problem?

Log in to reply.