I combine pdoPage with Agenda, which basically works well.
6 entries are displayed and also the “load more” button.
Unfortunately, no more entries are loaded when the button is clicked. The elements are only softened, but nothing else happens.
On another resource, pdoPage is already used with pdoResource and it works perfectly there.
If you open the developer tools in the browser (usually F12 or CTRL + Shift + i), are there any errors in the console?
If you open the “Network” tab of the developer tools and then click the “load more” button. Is the AJAX-call successful? Is the response value of this AJAX-call correct?
There should be a server error log somewhere on the server where 500 errors are logged. It could be helpful to have the specific error message. The exact location of this error file depends on the server configuration. (This is not the MODX error log file.)
Uncaught Error: Call to a member function getParameters() on null in
/home/k000409/www/17/htdocs/core/components/agenda/model/agenda/agendaevents.class.php:477\nStack trace:\n#0
/home/k000409/www/17/htdocs/core/components/agenda/model/agenda/agendaevents.class.php(357): AgendaEvents->getCategories()\n#1
/home/k000409/www/17/htdocs/core/components/agenda/src/Snippets/ListSnippet.php(142): AgendaEvents->toExtendedArray()\n#2
/home/k000409/www/17/htdocs/core/cache/includes/elements/modsnippet/31.include.cache.php(22): TreehillStudio\\Agenda\\Snippets\\ListSnippet->execute()\n#3
/home/k000409/www/17/htdocs/core/model/modx/modscript.class.php(76): include('...')\n#4
/home/k000409/www/17/htdocs/core/components/pdotools/model/pdotools/pdotools.class.php(362): modScript->process()\n#5
/home/k000409/www/17/htdocs/core/cache/includes/elements/modsnippet/17.include.cache.php(143): pdoTools->runSnippet()\n#6
/home/k000409/www/17/htdocs/core/model/modx/modscript.class.php(76): include('...'...', referer: https://domain.de/