Control: tags -1 + pending The new DEP-8 test running the example file did show more things to fix. But I have a full patch for this bug on Salsa.
Deprecated: hits_webcounter(): Optional parameter $webcounter_id declared before required parameter $step is implicitly treated as a required parameter in /usr/share/phpwebcounter/phpwebcounter.php on line 31 Deprecated: hits_webcounter(): Optional parameter $hits_file declared before required parameter $step is implicitly treated as a required parameter in /usr/share/phpwebcounter/phpwebcounter.php on line 31 Deprecated: hits_webcounter(): Optional parameter $vis declared before required parameter $step is implicitly treated as a required parameter in /usr/share/phpwebcounter/phpwebcounter.php on line 31 Deprecated: hits_webcounter(): Optional parameter $path_images declared before required parameter $step is implicitly treated as a required parameter in /usr/share/phpwebcounter/phpwebcounter.php on line 31 Warning: fopen(/var/lib/phpwebcounter/hits_webcounter.0): Failed to open stream: Permission denied in /usr/share/phpwebcounter/phpwebcounter.php on line 66 Fatal error: Uncaught TypeError: fread(): Argument #1 ($stream) must be of type resource, false given in /usr/share/phpwebcounter/phpwebcounter.php:67 Stack trace: #0 /usr/share/phpwebcounter/phpwebcounter.php(67): fread(false, 1024) #1 /usr/share/phpwebcounter/phpwebcounter.php(38): read_webcounter(0, '/var/lib/phpweb...') #2 /usr/share/phpwebcounter/phpwebcounter.php(89): hits_webcounter(0, '/var/lib/phpweb...', true, '/phpwebcounter/...', 6, 1) #3 /usr/share/doc/phpwebcounter/examples/phpwebcounter_test.php(14): require_once('/usr/share/phpw...') #4 {main} thrown in /usr/share/phpwebcounter/phpwebcounter.php on line 67 -- William