Opcache activ, but “0octet no files” on plugin stats + bug
-
Hello !
I come to you today because I have a problem with the administration of the plugin:
After activating opcache on my shared server by creating the folder at the root “.opcache” and the file “php.ini” followed by a ssh command to propagate it in the directories.I can see the opcache folder filling up when I browse the site which tends to show that opcache is active.
on the other hand in the administration of the plugin it is indicated :
“Zend OPcache 0o memory of 0 files” :
Web Server Apache
PHP SAPI 8.0.17 / cgi-fcgi (Linux)
Object Cache 4Mo object of 880 files
Zend OPcache 0o memory of 0 files
PHP Memory Limit 512Mo
WP Frontend Memory Limit 512Mb
WP Backend Memory Limit 256Mo
Drop-in Writable Yes
Drop-in File /wp-content/object-cache.php
Cache Writable Yes
Cache Files Limit 880 / 50000
Cache Disk Limit 6Mo / 500Mo
Cache Path /wp-content/cache/docket-cache
Config Writable Yes
Config Path /wp-content/docket-cache-dataand when I go to the “OPcache Usage” page to view opcache I get the following error:
Warning: Undefined array key “opcache_statistics” in /xxx/xxx/xxx/htdocs/Preprod/wp-content/plugins/docket-cache/includes/src/OPcacheView.php on line 93
Warning: Undefined array key “memory_usage” in /xxx/xxx/xxx//htdocs/Preprod/wp-content/plugins/docket-cache/includes/src/OPcacheView.php on line 93
Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /xxx/xxx/xxx//htdocs/Preprod/wp-content/plugins/docket-cache/includes/src/OPcacheView.php:93 Stack trace: #0 /xxx/xxx/xxx//htdocs/Preprod/wp-content/plugins/docket-cache/includes/src/OPcacheView.php(93): array_merge(NULL, NULL) #1 /xxx/xxx/xxx/xxx//htdocs/Preprod/wp-content/plugins/docket-cache/includes/admin/opcviewer.php(98): Nawawi\DocketCacheOPcacheView->get_usage() #2 /xxx/xxx/xxx//htdocs/Preprod/wp-content/plugins/docket-cache/includes/src/View.php(198): include_once(‘/xxx/xxx/xxx…’) #3 /xxx/xxx/xxx//htdocs/Preprod/wp-content/plugins/docket-cache/includes/src/View.php(233): Nawawi\DocketCacheView->render(‘opcviewer’) #4 /xxx/xxx/xxx//htdocs/Preprod/wp-content/plugins/docket-cache/includes/admin/wrap.php(41): Nawawi\DocketCacheView->tab_content() #5 /xxx/xxx/xxx//htdocs/Preprod/wp-content/plugins/docket-cache/includes/src/View.php(198): include_once(‘/xxx/xxx/xxx…’) #6 /xxx/xxx/xxx/htdocs/Preprod/wp-content/plugins/docket-cache/includes/src/View.php(220): Nawawi\DocketCacheView->render(‘wrap’) #7 /xxx/xxx/xxx//htdocs/Preprod/wp-includes/class-wp-hook.php(307): Nawawi\DocketCacheView->index(”) #8 /xxx/xxx/xxx//htdocs/Preprod/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array) #9 /xxx/xxx/xxx//htdocs/Preprod/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #10 /xxx/xxx/xxx//htdocs/Preprod/wp-admin/admin.php(259): do_action(‘docket-cache_pa…’) #11 {main} thrown in /xxx/xxx/xxx/htdocs/Preprod/wp-content/plugins/docket-cache/includes/src/OPcacheView.php on line 93
Can you help me pls ?
thanks in advance !
- The topic ‘Opcache activ, but “0octet no files” on plugin stats + bug’ is closed to new replies.