Fork me on GitHub
Subscribe 2

Ticket #290 (fixed bug)

Error generating stopwords cache ID

  • Created: 2011-02-12 12:08:24
  • Reported by: Reines
  • Assigned to: Reines
  • Milestone: 1.4.5
  • Component: caching
  • Priority: normal
Warning: Invalid argument supplied for foreach() in /path/domain/forums/include/functions.php on line 1688

It seems that glob is returning false. This is either a bug in PHP and means that no results were found - or it means some error occured. A simple solution is simply to handle the case where false is returned, however it would be interesting to know what is causing it...


Reines 2011-02-12 12:15:17

This should handle the error.

Depending on why glob() is failing the cache may not automatically be regenerated at is should.

Reines 2011-02-12 12:42:14

  • Owner set to Reines.
  • Status changed from open to fixed.

Mpok 2011-02-16 04:57:07

Nice catch…