Solved SP Page Builder

TypeError: S.src.startsWith is not a function

Asked by marius van Rijnsoever 3 years ago Last activity 2 years ago

I get a fatal javascript error in the page editor in the backend when I click on a element. Rather than showing up the property box, javascript crashes. The only changes I was making was to fonts prior to the error. It only happens on this page. I reinstalled the latest version and this did not fix it.
administrator/index.php?option=com_sppagebuilder&view=editor&tmpl=component#/editor/1/

nhandled Runtime Error
TypeError: S.src.startsWith is not a function
Please open the browser console for more information!
Call Stack
eo
(2:366697)
xs
(2:527236)
xl
(2:584068)
vu
(2:573220)
mu
(2:573148)
pu
(2:573011)
ru
(2:569818)
su
(2:570207)
Bi
(2:511082)
(2:567759)

Accepted answer

Marked as the solution
Toufiq Senior Staff

The button addon was override. Now it has been deleted from the template directory. Please check now. Thanks

17 more replies

marius van Rijnsoever Asked this

Unfortunately, I can add my json export of the template. This actually causes an error in your forum software. Annoyingly, this is the 3rd time I posted this, but when you add code your forum says it has successfully submitted, but there is a backend error which prevents posting.

I can't add attachments, so I can't post the page json for you to replicate the problem.

marius van Rijnsoever Asked this

Addes json as hidden content link

Toufiq Senior Staff

Hi there,

I appreciate you reaching out. I sincerely apologize for this oversight. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

-Thanks

marius van Rijnsoever Asked this

No I can't give admin access sorry. The JSON file replicates my problem on import. Have you tried my json file?

Thanks, Marius

Toufiq Senior Staff

I have checked your JSON file from my end and it works fine.

marius van Rijnsoever Asked this

Your javascript still crashes on my site. Something is conflicting likely from a null value stored somewhere. I am sure you agree this should not happen :)

What do you recommend? Can you ask the developer?

Toufiq Senior Staff

If you use third-party extension then you can disabled them. Then check again. Thanks

marius van Rijnsoever Asked this

I am sorry, but no real helpful advice has been given. I disabled any plugins, but the error is in the actual page builder pro administrator backend. Then I deleted the block that was causing the problem, but then it occurs on different items.

The only change I made prior to this was to add google fonts.

The javascript error is in the vendors.min.js script
function ua(e, t) {
try {
console.error(t.value)
} catch (e) {
setTimeout((function() {
throw e
}
))
}
}

Looks like it wants to report an error, but the error is empty and therefore it crashes the whole browser.

Could you please get a developer to get a look at this?

Thanks, Marius

Toufiq Senior Staff

To check the issue need your site access or provide me a backup of your site. You can share a akeeba backup (ZIP file). Thanks

marius van Rijnsoever Asked this

Hi Toufiq

Removed page builder pro and reinstalled, but same error persist as all the settings remain the same. Tried the fix page function and also did not work.

Have provided an admin login in the hidden content section

Thanks, Marius

Log in to reply.