How can I fix Undefined array key "host"? - Forum | JoomShaper
Solved SP Page Builder

How can I fix Undefined array key "host"?

Asked by Laura Cedano 1 year ago Last activity 1 year ago

I am using SP Page Builder Pro 5.4.4 to build a website. I'm using the Helix Ultimate template, and while editing from the front-end editor, I get this error:

Warning: Undefined array key "host" in C:\xampp\htdocs\ideinca\components\comsppagebuilder\layouts\row\start.php on line 278
https://drive.google.com/file/d/1mVGFiSO5aum5MRGt_3UAEFQkc_Aq9-4k/view?usp=sharing

I don't know how to solve it. Any solution or input?

Accepted answer

Marked as the solution
Laura Cedano Asked this

Solved!
I had an unlisted YouTube video as my background.
There might be a problem with the API or the data structure that SP Page Builder uses to process videos. It might not be able to handle URLs of unlisted videos.
I checked the start.php file, changed the video's visibility to Public, and the error disappeared.

1 more reply

Atick Eashrak Shuvo Staff

I'm glad to hear that you were able to resolve the issue! Thank you for sharing your solution with us; it's always helpful for others facing similar challenges. If you encounter any further issues or need assistance with anything else, feel free to reach out. Happy building!

Log in to reply.