php-phantomjs icon indicating copy to clipboard operation
php-phantomjs copied to clipboard

Program stops after '$client = Client::getInstance();'

Open ghost opened this issue 6 years ago • 3 comments

So I am trying completely new to this library, and when I tried to run the example code, it did not work, I am trying to find a php error log, but I have not yet found one, Im running IIS on php 7.0 (windows server 2019) The reason I know it crashes on $client = Client::getInstance(); is because i just echo numbers and see what line crashes, Sorry for the vaugeness, but I am really stuck on this one. Thanks.

ghost avatar Aug 22 '19 00:08 ghost

Bump

ghost avatar Aug 30 '19 14:08 ghost

I made a mistake, too. Have you solved it

54huige avatar Dec 02 '19 08:12 54huige

Strict Standards: Declaration of JonnyW\PhantomJs\DependencyInjection\ServiceContainer::load() should be compatible with Symfony\Component\DependencyInjection\Container::load($file) in D:\wamp\www\wcphp\vendor\jonnyw\php-phantomjs\src\JonnyW\PhantomJs\DependencyInjection\ServiceContainer.php on line 21

54huige avatar Dec 02 '19 08:12 54huige