Runtime Errors After Upgrade To SP Page Builder Version 5.0.10 - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Runtime Errors After Upgrade To SP Page Builder Version 5.0.10

BP

Bruce Paine

SP Page Builder 2 years ago

Hi - after upgrading to the new version of SP Page Builder Pro (version 5.0.10) I am now seeing Runtime Error messages when I attempt the following:-

  • Opening modules in the back end (I don't use front end editing.)
  • Selecting the SP Page Builder Pro'Pages' menu option (error appears after I click on 'Pages' option)
  • Selecting the SP Page Builder Pro 'Media Manager' menu option.
  • Selecting the SP Page Builder Pro 'EasyStore' menu option. (Note: I do not have EasyStore installed and don't have a need for it.)
  • Selecting the SP Page Builder Pro 'Settings' menu option.

The error message in red font always refers to 'TypeError: l.list_product_page_id is undefined'.

The 'Categories' menu option works ok.

I have Google searched for 'TypeError: l.list_product_page_id is undefined' and there is nothing.

I am now considering uninstalling SP Page Builder and reinstalling version 3.8.10. The previous version was working perfectly.

Can Joomshaper support offer some assistance please?

0
3 Answers
BP
Bruce Paine
Accepted Answer
2 years ago #132504

OK, I have solved this one myself while waiting for a response.

It turns out that there is code in AppConfig.php within 'components com.sppagebuilder' that uses list_product_page_id to test if EasyStore is installed. e.g.

isEasyStoreInstalled(), 'list_product_page_id' => ApplicationHelper::getStorePageId('storefront'), 'single_product_page_id' => ApplicationHelper::getStorePageId('single'), 'is_pro' => ApplicationHelper::isProVersion(),

My guess was that list_product_page_id wasn't given a value when the SP Page Builder upgrade was installed.

I simply opened Global Configuration in Joomla 4, located SP Page Builder on the list and clicked on 'Save and Close'. Problem solved. The error message no longer appears and SP Page Builder pages open normally.

There is no mention of EasyStore in Global Configuration. I guess this wasn't meant to happen.

0
BP
Bruce Paine
Accepted Answer
2 years ago #132280

To Joomlashine support team. Here is access to the web site.

I have not yet attempted to downgrade SP Page Builder Pro.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #132536

Hello Bruce Paine

Thanks for the update.

Best regards

0