Issue #2385181 by eshta: Fix PHP error caused by missing pages_all value.