In the Scribunto debug console, evaluate =mw.ext.dpl.getPagenames{Namespace=''}
What happens?:
Database error no such column: page_counter
Query: SELECT page_namespace,page_title,page_is_redirect,page_len,page_counter FROM page WHERE page_is_redirect = 0 ORDER BY page_id DESC LIMIT 200
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
Mediawiki 1.36.2, Scribunto that came with MW, DPLE downloaded per the extension page.