Pagination/search gives warnings on first time use

Asked by Brian Rippon

The first time a pagination page is invoked by a user, I get warnings:

Undefined index: filter_search (.../plugins/Pagination/includes/pagination.class.php line 237 ) (and lines 240 and 410)

Once a search has been performed, the warnings never reappear as $this->filter['filter_search'] can presumably pick up a value from the cache.

Is the initialisation code for $this->filter correct?

Question information

English Edit question
PHPDevShell Edit question
No assignee Edit question
Solved by:
Brian Rippon
Last query:
Last reply:
Revision history for this message
Brian Rippon (brian-rippon) said :

Sorry I've just found 3.0.0 stable and see that this is probably fixed...

Revision history for this message
Greg (gregfr) said :

Thanks for your report. Don't hesitate to report any bug and ask any question you might encounter, we are always looking to improve the product.


Revision history for this message
TitanKing (titan-phpdevshell) said :

Indeed, this is supposed to be fixed in stable :)