k4bek4be / Stikked

An advanced and beautiful pastebin written in PHP
0 stars 0 forks source link

i386 theme PHP error #4

Closed TehPeGaSuS closed 1 year ago

TehPeGaSuS commented 1 year ago

Using i386 theme on https://github.com/k4bek4be/Stikked/blob/k4be%2Bphp8/htdocs/application/config/stikked.php.dist#L55 leads to the following errors:

A PHP Error was encountered
Severity: 8192

Message: ord(): Passing null to parameter #1 ($character) of type string is deprecated

Filename: libraries/Jsmin.php

Line Number: 177

Backtrace:

File: /var/www/html/Stikked/htdocs/application/libraries/Jsmin.php
Line: 177
Function: ord

File: /var/www/html/Stikked/htdocs/application/libraries/Jsmin.php
Line: 210
Function: isAlphaNum

File: /var/www/html/Stikked/htdocs/application/libraries/Jsmin.php
Line: 78
Function: min

File: /var/www/html/Stikked/htdocs/application/libraries/Carabiner.php
Line: 912
Function: minify

File: /var/www/html/Stikked/htdocs/application/libraries/Carabiner.php
Line: 870
Function: _minify

File: /var/www/html/Stikked/htdocs/application/libraries/Carabiner.php
Line: 606
Function: _combine

File: /var/www/html/Stikked/htdocs/application/libraries/Carabiner.php
Line: 503
Function: _display_js

File: /var/www/html/Stikked/htdocs/themes/i386/views/defaults/footer.php
Line: 24
Function: display

File: /var/www/html/Stikked/htdocs/application/core/MY_Loader.php
Line: 147
Function: include

File: /var/www/html/Stikked/htdocs/application/core/MY_Loader.php
Line: 33
Function: _ci_load

File: /var/www/html/Stikked/htdocs/themes/i386/views/home.php
Line: 5
Function: view

File: /var/www/html/Stikked/htdocs/application/core/MY_Loader.php
Line: 147
Function: include

File: /var/www/html/Stikked/htdocs/application/core/MY_Loader.php
Line: 33
Function: _ci_load

File: /var/www/html/Stikked/htdocs/application/controllers/Main.php
Line: 376
Function: view

File: /var/www/html/Stikked/htdocs/index.php
Line: 284
Function: require_once
A PHP Error was encountered
Severity: 8192

Message: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated

Filename: libraries/Jsmin.php

Line Number: 177

Backtrace:

File: /var/www/html/Stikked/htdocs/application/libraries/Jsmin.php
Line: 177
Function: preg_match

File: /var/www/html/Stikked/htdocs/application/libraries/Jsmin.php
Line: 210
Function: isAlphaNum

File: /var/www/html/Stikked/htdocs/application/libraries/Jsmin.php
Line: 78
Function: min

File: /var/www/html/Stikked/htdocs/application/libraries/Carabiner.php
Line: 912
Function: minify

File: /var/www/html/Stikked/htdocs/application/libraries/Carabiner.php
Line: 870
Function: _minify

File: /var/www/html/Stikked/htdocs/application/libraries/Carabiner.php
Line: 606
Function: _combine

File: /var/www/html/Stikked/htdocs/application/libraries/Carabiner.php
Line: 503
Function: _display_js

File: /var/www/html/Stikked/htdocs/themes/i386/views/defaults/footer.php
Line: 24
Function: display

File: /var/www/html/Stikked/htdocs/application/core/MY_Loader.php
Line: 147
Function: include

File: /var/www/html/Stikked/htdocs/application/core/MY_Loader.php
Line: 33
Function: _ci_load

File: /var/www/html/Stikked/htdocs/themes/i386/views/home.php
Line: 5
Function: view

File: /var/www/html/Stikked/htdocs/application/core/MY_Loader.php
Line: 147
Function: include

File: /var/www/html/Stikked/htdocs/application/core/MY_Loader.php
Line: 33
Function: _ci_load

File: /var/www/html/Stikked/htdocs/application/controllers/Main.php
Line: 376
Function: view

File: /var/www/html/Stikked/htdocs/index.php
Line: 284
Function: require_once
An uncaught Exception was encountered
Type: ValueError

Message: Path cannot be empty

Filename: /var/www/html/Stikked/htdocs/application/libraries/Carabiner.php

Line Number: 948

Backtrace:

File: /var/www/html/Stikked/htdocs/application/libraries/Carabiner.php
Line: 948
Function: file_get_contents

File: /var/www/html/Stikked/htdocs/application/libraries/Carabiner.php
Line: 911
Function: _get_contents

File: /var/www/html/Stikked/htdocs/application/libraries/Carabiner.php
Line: 870
Function: _minify

File: /var/www/html/Stikked/htdocs/application/libraries/Carabiner.php
Line: 606
Function: _combine

File: /var/www/html/Stikked/htdocs/application/libraries/Carabiner.php
Line: 503
Function: _display_js

File: /var/www/html/Stikked/htdocs/themes/i386/views/defaults/footer.php
Line: 24
Function: display

File: /var/www/html/Stikked/htdocs/application/core/MY_Loader.php
Line: 147
Function: include

File: /var/www/html/Stikked/htdocs/application/core/MY_Loader.php
Line: 33
Function: _ci_load

File: /var/www/html/Stikked/htdocs/themes/i386/views/home.php
Line: 5
Function: view

File: /var/www/html/Stikked/htdocs/application/core/MY_Loader.php
Line: 147
Function: include

File: /var/www/html/Stikked/htdocs/application/core/MY_Loader.php
Line: 33
Function: _ci_load

File: /var/www/html/Stikked/htdocs/application/controllers/Main.php
Line: 376
Function: view

File: /var/www/html/Stikked/htdocs/index.php
Line: 284
Function: require_once
k4bek4be commented 1 year ago

Fixed in https://github.com/k4bek4be/Stikked/commit/9b84e0c07fae337757dd4d75d1947e36860b1916