Skip to content
New issue

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

Fatal Error #11

Open
ColinBe opened this issue May 15, 2014 · 2 comments
Open

Fatal Error #11

ColinBe opened this issue May 15, 2014 · 2 comments

Comments

@ColinBe
Copy link

ColinBe commented May 15, 2014

Some emails are successfully processed and the array is populated as expected, but most are failing. With error reporting turned on I get the following output (original file path has been removed):

PHP Fatal error: Cannot use string offset as an array in ....../bounce_driver.class.php on line 595

I'm not knowledgeable enough to debug/fix this. Any ideas?

Thanks,
Colin

@ssruprai
Copy link

If you are using same version as me then line 595 should be:

$stat = $ret['code'][0];

/*It seems to happen with certain invalid email address. I had fixed this by adding 
following code before line 595*/


if (!is_array($ret)) {
return $ret;
}

@nelsongomes
Copy link

The procedure called is initialized to '' and should be initialized to array(), this solved the problem for me.

I want to add some fixes and features to this project how can I do that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants