Fourth page of custom post type archive page does not exist

The problem was that one cannot apparently set 'posts_per_page' to anything other than what is set in the admin interface, even for a custom archive page.

The same code, minus the 'posts_per_page' => 'x' line, works fine.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)