Skip to content

PHP 8.1: Fix addslashes(): Passing null to parameter #1 () of type string is deprecated #140

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

Merged
merged 3 commits into from
Oct 16, 2023

Conversation

rebeccahum
Copy link
Contributor

Deprecated: addslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /wp/wp-content/mu-plugins/drop-ins/hyperdb/db.php on line 844 [es-site.vipdev.lndo.site/] [wp-content/mu-plugins/drop-ins/hyperdb/db.php:844 addslashes(), wp-includes/class-wpdb.php:1789 hyperdb->_real_escape(), wp-admin/includes/schema.php:1328 wpdb->prepare(), wp-admin/includes/schema.php:1040 populate_network_meta(), phar:///usr/local/binvendor/wp-cli/core-command/src/Core_Command.php:715 populate_network(), phar:///usr/local/binvendor/wp-cli/core-command/src/Core_Command.php:567 Core_Command->multisite_convert_(), Core_Command->multisite_install(), phar:///usr/local/binvendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:100 call_user_func(), WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(), phar:///usr/local/binvendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:491 call_user_func(), phar:///usr/local/binvendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:431 WP_CLI\Dispatcher\Subcommand->invoke(), phar:///usr/local/binvendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:454 WP_CLI\Runner->run_command(), phar:///usr/local/binvendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1269 WP_CLI\Runner->run_command_and_exit(), phar:///usr/local/binvendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php:28 WP_CLI\Runner->start(), phar:///usr/local/binvendor/wp-cli/wp-cli/php/bootstrap.php:83 WP_CLI\Bootstrap\LaunchRunner->process(), phar:///usr/local/binvendor/wp-cli/wp-cli/php/wp-cli.php:32 WP_CLI\bootstrap(), phar:///usr/local/binphp/boot-phar.php:20 include('phar:///usr/local/binvendor/wp-cli/wp-cli/php/wp-cli.php'), /usr/local/bin/wp:4 include('phar:///usr/local/binphp/boot-phar.php')]

sjinks
sjinks previously approved these changes Oct 16, 2023
@rebeccahum rebeccahum merged commit d8f68ef into trunk Oct 16, 2023
@rebeccahum rebeccahum deleted the php/8.1-fixes branch October 16, 2023 15:57
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

Successfully merging this pull request may close these issues.

2 participants