Bug #73444 [NEW]: error in CLI if imap_open fails
| From: | shaun at sideclick dot co dot za | Date: | Wed, 02 Nov 2016 14:39:47 +0000 |
| Subject: | Bug #73444 [NEW]: error in CLI if imap_open fails | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-205145@lists.php.net to get a copy of this message | ||
From: shaun at sideclick dot co dot za
Operating system: Windows 10
PHP version: 5.6.27
Package: CGI/CLI related
Bug Type: Bug
Bug description:error in CLI if imap_open fails
Description:
------------
I created a command in Symfony 3.1.6 which I executee in the CLI.
If imap_open fails then I get the following error in the CLI.
PHP Catchable fatal error: Argument 5 passed to
Symfony\Component\Debug\ErrorHandler::handleError() must be of the type
array, null given in
C:\xampp\htdocs\git_projects\TaylorMade-Adidas\vendor\symfony\symfony\src\Symfony\Component\Debug\ErrorHandler.php
on line 364
Catchable fatal error: Argument 5 passed to
Symfony\Component\Debug\ErrorHandler::handleError() must be of the type
array, null given in
C:\xampp\htdocs\git_projects\TaylorMade-Adidas\vendor\symfony\symfony\src\Symfony\Component\Debug\ErrorHandler.php
on line 364
Expected result:
----------------
should not throw this error and we should be able to handle the
exception.
--
Edit bug report at https://bugs.php.net/bug.php?id=73444&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73444&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73444&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73444&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=73444&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=73444&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=73444&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=73444&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=73444&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=73444&r=support
Expected behavior: https://bugs.php.net/fix.php?id=73444&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=73444&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=73444&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=73444&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73444&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=73444&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=73444&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=73444&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73444&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=73444&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=73444&r=mysqlcfg