A
A
alexusbon2017-10-21 18:35:24
In contact with
alexusbon, 2017-10-21 18:35:24

How to fix a crooked script?

There is a PHP script, when run from the local host, it throws errors, such as
Notice: Undefined variable: argv in C:\xampp1\htdocs\Grab\grab.php on line 22
Warning: array_key_exists() expects parameter 2 to be array, null given in C:\xampp1\htdocs\Grab\grab.php on line 22

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp1\htdocs\Grab\vendor\staconik\epnbzlib\src\EpnBzLib\Client.php on line 24
Who can help me figure this out??

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Serezha, 2017-10-21
@lexa_lashak

Until you have a specific question, in the spirit: "Here I personally solve such and such a task and I can’t do this, here is the code, it doesn’t turn out the way I want, but here are the logs of the interpreter", but there is a TASK that you described in your post - you on fl.ru freelance.ru upwork.com
Okay, you updated your question. Now let's read the error - you are told that an array should be passed to parameter 2 of the array_key_exists function, but in fact nothing is passed.
Then the second error - you are informed that the script was completed because it worked longer than 30 seconds, and you have the max exec time = 30 seconds parameter in your php settings.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question