-
Notifications
You must be signed in to change notification settings - Fork 2
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
PHP 8.1.0 Errors / Deprications #1467
Comments
@tiefenb Thanks. I think a lot of those are duplicates of the same thing, and it looks like some of them are from your site's template files in site/templates/bto/. But I was able to reduce it down to 5 changes and have applied those. The only ones I couldn't figure out were the deprecation notices for the ArrayAccess and IteratorAggregate interfaces. As far as I can tell, ours are already compatible, so I'm missing something there. Is it possibly reading the phpdoc comments or argument names? There are cases where I make the phpdoc comment return and argument types contextual to our case rather than the broader PHP interface. But if PHP 8.1 is looking at those phpdoc comments maybe that explains it, but so far I'm not clear on that part. |
@ryancramerdesign , I'm getting this on PHP 8.1 and almost PW 3.0.190 :-) Deprecated: Return type of ProcessWire\WireDatabasePDOStatement::bindValue($parameter, $value, $data_type = PDO::PARAM_STR) should either be compatible with PDOStatement::bindValue(string|int $param, mixed $value, int $type = PDO::PARAM_STR): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\inetpub\wwwroot\wire\core\WireDatabasePDOStatement.php on line 126 Deprecated: Return type of ProcessWire\WireDatabasePDOStatement::execute($input_parameters = null) should either be compatible with PDOStatement::execute(?array $params = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\inetpub\wwwroot\wire\core\WireDatabasePDOStatement.php on line 144 Deprecated: Return type of ProcessWire\LanguagesPageFieldValue::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\inetpub\wwwroot\wire\modules\LanguageSupport\LanguagesPageFieldValue.php on line 390 Tracy reports: |
@matjazpotocnik I'm not sure I understand those first 3 as the return types are already consistent with what it's asking for as far as I can tell. Or is it just asking for something additional in the phpdoc? Since it's mentioning For the last one from Tracy, that one looks simple, I can just typecast the argument to a string. |
@ryancramerdesign, this link explains what's going on: https://php.watch/versions/8.1/internal-method-return-types As for strlen(), typcasting $nameLanguage to string makes the warning go away. Just for info, it's the |
…untable and PDOStatement interface classes to stop PHP 8.1 notices per https://php.watch/versions/8.1/internal-method-return-types and processwire/processwire-issues#1467 ... someday when all PHP 5.x support can be dropped these will be converted to PHP 7.1+ return types
Thanks @matjazpotocnik that link explained it well. I'm not thrilled about the direction PHP is going with stuff like this but I have updated the code to have those ReturnTypeWillChange comments in all the relevant places I could find. I don't want to drop support for PHP versions prior to 7.1 at this time, so will have to stick with this strange workaround for now. Please let me know if you spot any other instances that need this change. Thanks. |
@ryancramerdesign, there are more deprecation warnings:
|
I forgot to report the warning for the InputfieldURL.module:
Warnings for the html purifier are new, since the upgrade to 4.14.0:
|
@matjazpotocnik Thanks, I've got some other updates in progress on InputfieldURL so will make sure that one is added. For HTMLPurifier, will wait a bit to see if they update anytime soon so we don't end up with a modified version of that library. |
Can verify that I got the same errors after an upgrade to PHP 8.1. Let me know once you are ready for testers and I will provide feedback. |
The Errors above are gone but I found two another: PHP message: PHP Deprecated: Return type of ProcessWire\PagesType::count($selectorString = '', array $options = []) should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wire/core/PagesType.php on line 625 PHP message: PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wire/core/WireDateTime.php on line 269 |
|
|
|
@ryancramerdesign there are some more warnings:
I agree. Perhaps you could fix those two warnings just before releasing the new master? |
|
Nice to see this thread has been busy! Here's another And a few
|
Thanks @matjazpotocnik @kixe @sforsman I've pushed updates for all of these. |
|
Thanks @ryancramerdesign! Just a quick workaround for people stumbling in to these. If you define a nullable version of the built-in function under the ProcessWire namespace, the core will then use that version instead of the built-in function. For your own code that's not running under the ProcessWire namespace, you can even import the function. This will work even in the global space. E.g. <?php
namespace ProcessWire {
function strlen(?string $string): int { return \strlen($string ?? ''); }
}
namespace {
use function ProcessWire\strlen;
echo strlen(null); // => 0
} |
Deprecated: Return type of ProcessWire\WireDatabasePDOStatement::bindValue($parameter, $value, $data_type = PDO::PARAM_STR) should either be compatible with PDOStatement::bindValue(string|int $param, mixed $value, int $type = PDO::PARAM_STR): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\processwire-master\wire\core\WireDatabasePDOStatement.php on line 126 Deprecated: Return type of ProcessWire\WireDatabasePDOStatement::execute($input_parameters = null) should either be compatible with PDOStatement::execute(?array $params = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\processwire-master\wire\core\WireDatabasePDOStatement.php on line 144 Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\PagesSortfields.php on line 98 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 587 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 593 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 598 Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\PagesSortfields.php on line 98 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 587 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 593 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 598 Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\PagesSortfields.php on line 98 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 587 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 593 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 598 Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\PagesSortfields.php on line 98 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 587 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 593 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 598 Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\PagesSortfields.php on line 98 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 587 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 593 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 598 Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\PagesSortfields.php on line 98 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 587 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 593 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 598 Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\PagesSortfields.php on line 98 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 587 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 593 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 598 Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\PagesSortfields.php on line 98 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 587 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 593 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 598 Warning: session_name(): Session name cannot be changed after headers have already been sent in C:\xampp\htdocs\processwire-master\wire\core\Session.php on line 286 Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in C:\xampp\htdocs\processwire-master\wire\core\Session.php on line 289 Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in C:\xampp\htdocs\processwire-master\wire\core\Session.php on line 290 Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in C:\xampp\htdocs\processwire-master\wire\core\Session.php on line 291 Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in C:\xampp\htdocs\processwire-master\wire\core\Session.php on line 292 Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in C:\xampp\htdocs\processwire-master\wire\core\Session.php on line 304 Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\PagesSortfields.php on line 98 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 587 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 593 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 598 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\processwire-master\wire\core\Selectors.php:1484) in C:\xampp\htdocs\processwire-master\wire\modules\Process\ProcessPageView.module on line 161 Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\PagesSortfields.php on line 98 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Selectors.php on line 1484 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 587 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 593 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\core\WireArray.php on line 598 Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Sanitizer.php on line 376 Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Sanitizer.php on line 376 Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in C:\xampp\htdocs\processwire-master\wire\core\Sanitizer.php on line 376 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\processwire-master\wire\core\Selectors.php:1484) in C:\xampp\htdocs\processwire-master\wire\core\admin.php on line 28 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\processwire-master\wire\core\Selectors.php:1484) in C:\xampp\htdocs\processwire-master\wire\modules\Process\ProcessLogin\ProcessLogin.module on line 307 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\processwire-master\wire\core\Selectors.php:1484) in C:\xampp\htdocs\processwire-master\wire\modules\Process\ProcessLogin\ProcessLogin.module on line 308 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\processwire-master\wire\core\Selectors.php:1484) in C:\xampp\htdocs\processwire-master\wire\modules\Process\ProcessLogin\ProcessLogin.module on line 309 Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in C:\xampp\htdocs\processwire-master\wire\modules\Inputfield\InputfieldText\InputfieldText.module on line 137 Even after updating to latest version these are still there. Pleasssssssssseee help |
@mohitsharma786 These have already been covered. It looks like you are using the master branch, you'll want to switch to the dev branch in a development environment where you are seeing these notices. |
Thanks @ryancramerdesign. This surely resolved the issue |
|
Thanks @matjazpotocnik I've pushed fixes for those two. |
PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wire/modules/Inputfield/InputfieldPassword/InputfieldPassword.module:338 |
@ryancramerdesign - just following up with more info on the Lister related issue two posts above this. If I do |
Thanks @adrianbj I've pushed updates for these |
Thanks @ryancramerdesign - I just realized that Lister issue wasn't actually a PHP8 deprecation - sorry for posting in the wrong place, but thank you for fixing - looks good now! |
|
PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in ...\wire\modules\Inputfield\InputfieldMarkup.module:107 |
PHP Deprecated: Automatic conversion of false to array is deprecated in [...\wire\modules\Process\ProcessLogger\ProcessLogger.module:379 |
Hey @ryancramerdesign |
@ryancramerdesign |
Same for me: PHP 8.2.6 ProcessWire 3.0.229 © 2024 |
DEPRECATED: URLENCODE(): PASSING NULL TO PARAMETER #1 ($STRING) OF TYPE STRING IS DEPRECATED IN /.../WIRE/MODULES/MARKUP/MARKUPPAGERNAV/MARKUPPAGERNAV.MODULE ON LINE 553 PW: 3.0.229 |
PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in ...\wwwroot\wire\modules\Process\ProcessPageClone.module:279 |
Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in FieldtypeFloat.module:128 |
@ryancramerdesign - I am still seeing that Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in wire/core/Selectors.php on line 1484 that was reported in the OP of this issue. |
Thanks @adrianbj @matjazpotocnik @lparikka @vieregg-jfc @Toutouwai @the-ge I've pushed updates to correct all of these.
@adrianbj This one I can't seem to identify. Here's the method that it is in below. The first line in the method should exclude the possibility of a null value for $type, since isset() will return false for null. Your line number didn't match with the strpos() line on mine (it was off by 2) so I'm wondering if you have an older version of the file?
|
Hi @ryancramerdesign - so sorry to waste your time on that strpos issue. I am running the latest PW dev version on the site, but there was an old dev version of the site on the same server (with an older version of PW) sending errors to the same log file. |
@adrianbj No problem, glad the mystery is solved. :) |
@ryancramerdesign, you forgot to fix the issue mentioned by trk #1467 (comment) InputfieldPageTabe.module, line 521 (it was line 504 when trk reported it)
strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated |
Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/vhosts/xxx/wire/modules/Textformatter/TextformatterEntities.module on line 29 PHP 8.3.12 |
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in .../wire/core/WireTextTools.php:922 |
PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in FieldtypeComments.module:303 |
count(): Argument #1 ($value) must be of type Countable|array, null give (got this when trying to view an edit page for a repeater item) |
Thanks @matjazpotocnik @WebWorkingMan @BernhardBaumrock @adrianbj @elabx I've pushed fixes for issues noted above. |
Hey @ryancramerdesign Thx! I've created a new issue for PHP8.4 deprecations here #2000 |
I have tested Processwire with the upcoming 8.1.0 Version of PHP and got some deprication warnings and errors:
The text was updated successfully, but these errors were encountered: