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

エラーメッセージ

目次一覧

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

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

 閲覧数:20 投稿日: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
2024/4/27 21:00 更新
週間人気ページランキング / 4-20 → 4-26
順位 ページタイトル抜粋 アクセス数
1 Parse error: syntax error, unexpected 'public' (T_PUBLIC) | Parse error(エラーメッセージ) 16
2 ブラウザを閉じたらセッションデータはどうなるの? | セッション 14
3 PHPで定数を定義する方法は2種類ある / 配列定数の定義 8
4 curl で Cookie を使用する 7
5 Fatal error: Access level to ▲::$△ must be protected (as in class ●) or weaker | Fatal error(エラーメッセージ) 5
5 Warning: strlen() expects parameter 1 to be string, array given in ○○.php on line △△ | Warning(エラーメッセージ) 5
6 コード例 … 「例外処理」はネストすることができる 4
6 Composer | 依存関係マネージャ 4
6 ブラウザを閉じたらセッションデータはどうなるの? | セッション 4
7 型の種類 | 型 3
7 例外処理 | 制御構造 3
7 or(||) | 演算子 3
7 セッション名 | セッション 3
7 セッション管理が必要な理由は、HTTPプロトコルには状態を保持する機能がないため | セッション 3
7 register_shutdown_function | 関数処理 関数 3
7 Fatal error: Uncaught Error: Call to a member function modify() on string | Fatal error(エラーメッセージ) 3
7 ( ! ) Fatal error: Uncaught PDOException: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined | Fatal error(エラーメッセージ) 3
8 SHA-1(Secure Hash Algorithm 1) | 関数 2
8 スコープ | 変数 2
8 static修飾子 | クラスとオブジェクト 2
2024/4/27 1:01 更新