5. Warning: Unknown paging action

The built-in page() method has a number of options for changing the page, for example you can pass in the string next to jump to the next page. This error occurs when the option passed in is not known.

Meaning

Quite simply, the option passed into page() is not a known action. In this case you will receive the warning:

Unknown paging action: {action}

where {action} is replaced with the option given to page() that is doesn't know.

Diagnosis

The key to resolving this issue to to find we you are calling the page() method and checking what you are passing into the function as an action.

Resolution

To resolve this issue, please ensure that you are passing in a valid option as described in the page() documentation.