Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 18h 13m 45s
Claim 50% off
Solved Templates

Hope Template: array_replace(): Argument #1 ($array) must be of type array, string given

Asked by Neil 2 years ago Last activity 2 years ago

Just installed Hope template. The back end works fine but the front end just displays this error:

array_replace(): Argument #1 ($array) must be of type array, string given

This is a completely fresh install from the J4 quick start.

Would really appreciate some help as I had set aside today to work on this.

Accepted answer

Marked as the solution
Ofi Khan Staff

Glad that it is fixed. Please accept any answer to close the post. There is a button to accept answer after each comment.

2 more replies

Ofi Khan Staff

Hello Neil

Which page shows the error? Please share the page link to check your issue.

Best regards

Neil Asked this

It was the home page. I had set the site to Offline and it happened when I logged in.

I then put it back to Online and it kept the error for me as I was logged in to the front end.

So it seems that anyone logged in to the front end when the site is online or offline shows this error.

Neil Asked this

I would really like to know if I am OK to work with this template, as I have already lost a day of work waiting on this.

Neil Asked this

Sorry, but I am getting a bit desperate here. PLEASE can someone help me?

Neil Asked this

Never mind - I upgraded everything to Page Builder 5 Pro and all seems to be fixed.

Log in to reply.