Search and Load More not working on Live site

..trying in vain to get the new search function working. Everything is fine in preview and local webserver however, after uploading the search function doesn’t work (just showing the ‘search field’, but no dropdown). Also the ‘Load more’ stopped working…

Unfortunately no idea what’s going on, maybe I misunderstood the “collection” problem..

Whatever it is, some enlightenment is appreciated. Is there a way to make the here uploaded project (26mb) NON-Public ?

Hi @Utz

do you have a live url you can share? I could take a look at the published site and see if I can diagnose the issue.

could you also confirm if you’ve sent your project to support?

Hi Ben, I reversed the site to the previous working state, so no working url ! If it’s really necessary though, I will upload the part again.

As to the project upload, no I didn’t yet upload..the link said to only upload if requested. Guess it’s now requested and I’ll go ahead with uploading to support.

Let me know if I should upload to the website as well…it’s not causing much problem to the site..

I checked your site and there is an error coming back from the component of “Collection not found”.

Do you think you could upload your project to Elements Cloud and then send me the link?

:+1:..uploaded to “support”

error re. index.php line 195 ( $pagePath = $collectionPageHref !== ‘’ ? resolveToAbsoluteWebPath($_currentPageDir, $collectionPageHref) : ‘’; )

error_log.txt (1.0 KB)

I’m seeing the same issue in one of my projects as well — although in my case it’s related to the Pagination component. However, when I replace it with the Load More component, that doesn’t work either.

What’s interesting is that I haven’t changed anything in the collection output itself, and on another page under the same URL structure everything is still working correctly.

@Ben, I’ll send you the project via the Support Upload

have you checked all of your markdown files for issues? Is the pagination and load more working on your other projects?

I haven’t changed anything in the Markdown files, and everything was working normally before.

In other projects as well, the pagination no longer works where it previously worked without any issues.

Hi @Utz

those errors suggest some file(s) might be missing from your server — have you tried a “re-publish all files”?

..I did try however, I only republished the “News” section. I compared and checked every file in the the relevant directories and can’t find anything missing.

Guess I am not prepared to “stuff up” the rest of the site right now. It’s late here and I am getting slightly frustrated, so better off to bed. What beats me, it’s working perfectly in browser preview and on local ServBay, but when I upload exactly the same files to the site, Search and Load More doesn’t work :man_shrugging:t2:.

Anyway..thanks for taking the time to look into it :+1: