( ! ) Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in ★★★ headless-chromium-php/vendor/wrench/wrench/lib/Wrench/Protocol/Protocol.php

エラーメッセージ

目次一覧

 状態:完了  閲覧数:680  投稿日:2023-12-23  更新日:2023-12-23  
エラーメッセージ / エラー原因 / エラー対応

エラーメッセージ / エラー原因 / エラー対応

 閲覧数:261 投稿日:2023-12-23 更新日:2023-12-23 

エラーメッセージ


( ! ) Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in ★★★ headless-chromium-php/vendor/wrench/wrench/lib/Wrench/Protocol/Protocol.php

エラー原因


「Chrome PHP」のバージョンが低いから
現在使用されている「PHP」のバージョンに対応していない「Chrome PHP」を使用しているため。

エラー対応


「Chrome PHP」をバージョンアップ
現在使用されている「PHP」のバージョンに対応している「Chrome PHP」を使用する。

$ composer require chrome-php/chrome
./composer.json has been updated
Running composer update chrome-php/chrome
Loading composer repositories with package information
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
 - Upgrading chrome-php/chrome (v0.6.0 => v0.10.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
 - Downloading chrome-php/chrome (v0.10.0)
 - Upgrading chrome-php/chrome (v0.6.0 => v0.10.0): Extracting archive
Generating autoload files
No security vulnerability advisories found
Using version ^0.10.0 for chrome-php/chrome


$ composer update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 2 installs, 7 updates, 0 removals
 - Upgrading apix/log (1.2.1 => 1.2.2)
 - Upgrading evenement/evenement (v3.0.1 => v3.0.2)
 - Upgrading psr/log (1.1.0 => 1.1.4)
 - Upgrading symfony/filesystem (v4.3.4 => v5.4.25)
 - Upgrading symfony/polyfill-ctype (v1.12.0 => v1.28.0)
 - Locking symfony/polyfill-mbstring (v1.28.0)
 - Locking symfony/polyfill-php80 (v1.28.0)
 - Upgrading symfony/process (v4.3.4 => v5.4.28)
 - Upgrading wrench/wrench (v2.0.8 => v2.0.11)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 2 installs, 7 updates, 0 removals
 - Downloading wrench/wrench (v2.0.11)
 - Downloading symfony/polyfill-php80 (v1.28.0)
 - Downloading symfony/process (v5.4.28)
 - Downloading symfony/polyfill-mbstring (v1.28.0)
 - Downloading symfony/polyfill-ctype (v1.28.0)
 - Downloading symfony/filesystem (v5.4.25)
 - Downloading psr/log (1.1.4)
 - Downloading evenement/evenement (v3.0.2)
 - Downloading apix/log (1.2.2)
 - Upgrading wrench/wrench (v2.0.8 => v2.0.11): Extracting archive
 - Installing symfony/polyfill-php80 (v1.28.0): Extracting archive
 - Upgrading symfony/process (v4.3.4 => v5.4.28): Extracting archive
 - Installing symfony/polyfill-mbstring (v1.28.0): Extracting archive
 - Upgrading symfony/polyfill-ctype (v1.12.0 => v1.28.0): Extracting archive
 - Upgrading symfony/filesystem (v4.3.4 => v5.4.25): Extracting archive
 - Upgrading psr/log (1.1.0 => 1.1.4): Extracting archive
 - Upgrading evenement/evenement (v3.0.1 => v3.0.2): Extracting archive
 - Upgrading apix/log (1.2.1 => 1.2.2): Extracting archive
Generating autoload files
5 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found


$ composer show chrome-php/chrome
name     : chrome-php/chrome
descrip. : Instrument headless chrome/chromium instances
keywords : browser, chrome, chromium, crawl, headless, pdf, puppeteer, screenshot
versions : * v0.10.0
type     : library
license  : Fair License (Fair) (OSI approved) https://spdx.org/licenses/Fair.html#licenseText
homepage :
source   : [git] https://github.com/chrome-php/headless-chromium-php.git e0566f9da60e0058e61246c9bce403e1407727eb
dist     : [zip] https://api.github.com/repos/chrome-php/headless-chromium-php/zipball/e0566f9da60e0058e61246c9bce403e1407727eb e0566f9da60e0058e61246c9bce403e1407727eb
path     : /var/www/html/w4c.work/php-demo.w4c.work/demo/screen-capture/headless-chromium-php/vendor/chrome-php/chrome
names    : chrome-php/chrome

support
issues : https://github.com/chrome-php/headless-chromium-php/issues
source : https://github.com/chrome-php/headless-chromium-php/tree/v0.10.0

autoload
psr-4
HeadlessChromium\ => src/

requires
apix/log ^1.2
evenement/evenement ^3.0.1
php ^7.1.3 || ^8.0
psr/log ^1.0
symfony/filesystem ^3.3|^4.0|^5.0
symfony/process ^3.3|^4.0|^5.0
wrench/wrench ^2.0

requires (dev)
bamarni/composer-bin-plugin ^1.4.1
phpunit/phpunit ^7.5.20 || ^8.5.13 || ^9.5.0
symfony/var-dumper ^3.3|^4.0|^5.0



( ! ) Warning: file_put_contents(/a/b.jpg): failed to open stream: No such file or directory in

Fatal error: Uncaught Wrench\Exception\HandshakeException: No accept header receieved on handshake response in ★★★ headless-chromium-php/vendor/wrench/wrench/lib/Wrench/Protocol/Protocol.php

コメント投稿(ログインが必要)



類似度ページランキング
順位 ページタイトル抜粋
1 ( ! ) Warning: Declaration of xxxx should be compatible with 22
2 Warning: array_rand() [function.array-rand]: Second argument has to be between 1 20
3 ( ! ) Warning: file_put_contents(/a/b.jpg): failed to open stream: No such file or directory in 20
4 Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting 20
5 ( ! ) Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined 19
6 ( ! ) Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in 19
7 Fatal error: Uncaught Error: Class 'Mecab_Tagger' not found in /var/www/ 19
8 Deprecated: Assigning the return value of new by reference is deprecated 18
9 Fatal error: Call-time pass-by-reference has been removed in 18
10 ( ! ) Fatal error: Uncaught Abraham\TwitterOAuth\TwitterOAuthException: timed out before SSL handshake 18
11 Warning: include(**.php) [function.include]: failed to open stream: No such file 18
12 Warning: strlen() expects parameter 1 to be string, array given in ○○.php on line △△ 18
13 Fatal error: Uncaught Error: Call to a member function modify() on string 18
14 SHA-1(Secure Hash Algorithm 1) 17
15 Parse error: syntax error, unexpected ';', expecting ')' in 17
16 ( ! ) Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'カラム名' cannot be null 17
17 Fatal error: require_once(): Failed opening required 'XML/RSS.php' 17
18 #1548 - Cannot load from mysql.proc. The table is probably corrupted 17
19 Warning: include() [function.include]: Failed opening '**.php' for inclusion (in 17
20 Parse error: syntax error, unexpected 'public' (T_PUBLIC) 17
2026/7/24 15:17 更新
週間人気ページランキング / 7-17 → 7-23
順位 ページタイトル抜粋 アクセス数
1 PHP用語 6
2 コンストラクタ デストラクタ | クラスとオブジェクト 4
2 マジックメソッド(クラスとオブジェクト) カテゴリー 4
3 ログイン 3
4 Parse error: syntax error, unexpected $end in ○○.php on line △△ | Parse error(エラーメッセージ) 2
4 PHPでcurlを使用するためには?/ 2.オプション設定 / curlでPOST送信 2
4 You currently have Essential access which includes access to Twitter API v2 endpoints only. If you need access to this endpoint, you’ll need to apply for Elevated access via the Developer Portal. | Twitter API(エラーメッセージ) 2
4 htmlspecialchars / htmlentities / addslashes / mysql_real_escape_string / mysqli_real_escape_string | セキュリティ 2
4 デフォルト引数 | 関数 2
4 Fatal error: Uncaught Error: Class 'Mecab_Tagger' not found in /var/www/★★.php:☆☆ | Fatal error(エラーメッセージ) 2
4 遭遇例1.存在する間違ったデータベース名を指定 2
4 リファレンス基本操作は3通り 2
5 __setメソッド | マジックメソッド(クラスとオブジェクト) 1
5 P … 子クラスインスタンス生成。親クラス内での$this 1
5 Fatal error: Uncaught RuntimeException: SplFileObject::__construct(): failed to open stream: Permission denied in | Fatal error(エラーメッセージ) 1
5 Fatal error: Uncaught Wrench\Exception\HandshakeException: No accept header receieved on handshake response in ★★★ headless-chromium-php/vendor/wrench/wrench/lib/Wrench/Protocol/Protocol.php | エラーメッセージ 1
5 対応案B.文字列処理ではなく、配列処理を実施 1
5 PHPでどうしてもエラーが画面表示されない時は、HTMLコメントアウトを外してみる | エラーメッセージ 1
5 Fatal error: require_once(): Failed opening required 'PEAR.php' | Fatal error(エラーメッセージ) 1
5 PECLとは? 1
2026/7/24 5:05 更新