Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP8: TypeError: closedir(): Argument #1 ($dir_handle) must be of type resource or null, bool given #12

Open
rozhuk-im opened this issue Feb 5, 2022 · 0 comments

Comments

@rozhuk-im
Copy link

TypeError: closedir(): Argument #1 ($dir_handle) must be of type resource or null, bool given

An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the searchstats plugin.

More info has been written to the DokuWiki error log.
2022-02-05 22:39:07TypeError: closedir(): Argument #1 ($dir_handle) must be of type resource or null, bool given /usr/local/www/wiki/lib/plugins/searchstats/helper.php(63)
    #0 /usr/local/www/wiki/lib/plugins/searchstats/helper.php(63): closedir()
    #1 /usr/local/www/wiki/lib/plugins/searchstats/action.php(34): helper_plugin_searchstats->getSearchWordArray()
    #2 /usr/local/www/wiki/lib/plugins/searchstats/admin.php(32): action_plugin_searchstats->getSearchWordArray()
    #3 /usr/local/www/wiki/inc/Action/Admin.php(33): admin_plugin_searchstats->handle()
    #4 /usr/local/www/wiki/inc/ActionRouter.php(83): dokuwiki\Action\Admin->preProcess()
    #5 /usr/local/www/wiki/inc/ActionRouter.php(48): dokuwiki\ActionRouter->setupAction()
    #6 /usr/local/www/wiki/inc/ActionRouter.php(60): dokuwiki\ActionRouter->__construct()
    #7 /usr/local/www/wiki/inc/actions.php(16): dokuwiki\ActionRouter::getInstance()
    #8 /usr/local/www/wiki/doku.php(122): act_dispatch()
    #9 {main} 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant