We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using XAMPP, php 8.1, Google Chrome v120.
$pathToChrome = "C:\Program Files\Google\Chrome\Application\chrome.exe" $browserFactory = new BrowserFactory($pathToChrome); //<-- no error caused here // starts headless chrome $browser = $browserFactory->createBrowser(); //<--- triggers error:
////////////////// ERROR
Backtrace:
<p>Severity: Warning</p> <p>Message: Array to string conversion</p> <p>Filename: process/Process.php</p> <p>Line Number: 341</p> <p style="margin-left:10px"> File: C:\xampp81\php\vendor\chrome-php\chrome\src\Browser\BrowserProcess.php<br /> Line: 134<br /> Function: start </p> <p style="margin-left:10px"> File: C:\xampp81\php\vendor\chrome-php\chrome\src\BrowserFactory.php<br /> Line: 83<br /> Function: start </p>
The text was updated successfully, but these errors were encountered:
I found an error similar to this: PHP Notice: Array to string conversion in D:\laragon\www\gdplayer\vendor\symfony\process\Process.php on line 345
Sorry, something went wrong.
Unfortunately I couldn't resolve so I've stopped using chrome-php.
No branches or pull requests
I am using XAMPP, php 8.1, Google Chrome v120.
$pathToChrome = "C:\Program Files\Google\Chrome\Application\chrome.exe"
$browserFactory = new BrowserFactory($pathToChrome); //<-- no error caused here
// starts headless chrome
$browser = $browserFactory->createBrowser(); //<--- triggers error:
////////////////// ERROR
A PHP Error was encountered
Backtrace:
The text was updated successfully, but these errors were encountered: