Elements CMS: Load more and author not working

I’m sure this was working fine on previous versions of Elements, but now when clicking the Load more button, the browser console shows repeated errors like:

Failed to load resource: the server responded with a status of 400 ()
Error loading more items: Error: HTTP error! status: 400

Also the post author leads to a no item found. All work as expected locally but not on my server with php 8.4. I’m testing with the Appleseed Daily project, uploaded below:

https://archetypon.net/preview/elements/appleseed/

Hey @Lucas,

We’ve had no other reports of this and all is working fine here. If you share the project via Elements Cloud, we can take a look for you…

We also have the free Microblog project in the store you might want to take a look at :slight_smile:

Hey @dan

The project is yours Appleseed Daily, I didn’t changed a thing. I’ve looked at the Marketplace and the Pavyon Blog from Templays is showing the same error when clicking on the View all button.

Could not find the Microblog you mentioned :thinking:

It’s in the built-in store, give that a go:

Unfortunately the same errors and Load more not working using the Microblog project as well:

https://archetypon.net/preview/elements/microblog/

Maybe I’m doing something wrong, but fact is that it works locally but not when uploaded. I’ve talked to DreamHost support, here’s their answer:

This indicates the request to the following endpoint is being rejected by
the server due to invalid or incomplete data:

rw/elements/com.realmac.corepack/api/index.php/cms/collections/items

Since this functionality works in your local environment, it’s likely
that the issue is related to differences in site configuration or missing
parameters in the API request on the live server.

Additionally, because this endpoint is part of a custom CMS integration
and the server is responding correctly with a 400, this confirms that the
issue is not due to DreamHost’s hosting environment, the request is
simply being rejected by the app-level API.

We recommend reviewing the request payload being sent to that endpoint
and ensuring that any required parameters (like collection ID or
pagination values) are correctly passed. It’s also worth checking for any
environment-specific configurations or hardcoded URLs that might differ
between local and live setups.

https://sjwjaw.co.uk/stevew/

not sure if this helps mine works, not sure if same setup, I used a lock icon rather than load more

Load More has not worked for me for some time now, either.

I remember @ben mentioning something about some problems with Chillidog based on changes they had made after their attack. But clearly that has not yet been fixed, as I still cannot get Load More to work.

I should add this works in Preview but not on the live site.

im with chillidog

I dl micro blog and did this, added some mds and inserted loadmore where pagination was, works in preview

micro project does not work on my site, link to, just uploaded

Yep Load more work as expected locally, but not when uploaded to the server.

What about the author link in the blog? This does not work either.

Author doesn’t seem to work with the microblog project but it does on my project same as loadmore does

Thanks, we’ll dig into this today!

The fact it works locally and NOT on the server, points to a server configuration issue. However we are looking to ensure the CMS is compatible with as many hosts as possible.

Stay tuned…

1 Like

@dan my project works with load more on my server, I uploaded the microblog project to the same server the microblog load more does not work, so not sure

I’ve found the issue with the Load More component — there was a bug when publishing to a sub folder, rather than the root of the server.

So publishing to domain.com/sub-page would cause an issue with Load More. This is now fixed and will be included in the next update :slight_smile:

2 Likes

mine was published to root, lucky setup by me