Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Mailer] Fix Trying to access array offset on value of type null error by adding null checking #60057

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

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

khushaalan
Copy link

@khushaalan khushaalan commented Mar 26, 2025

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix Trying to access array offset on value of type null error by adding null checking
License MIT

Its a very simple bug fix.. basically the error_get_last() doesn't have the 'message' and causing this issue:
image

so i just added Null Checking and it seems to be working now:
image

this is happens when using Mailtrap and when it reaches its quota..

@carsonbot carsonbot added this to the 7.2 milestone Mar 26, 2025
@carsonbot carsonbot changed the title chore: fix Trying to access array offset on value of type null error by adding null checking [Mailer] chore: fix Trying to access array offset on value of type null error by adding null checking Mar 28, 2025
@nicolas-grekas nicolas-grekas changed the title [Mailer] chore: fix Trying to access array offset on value of type null error by adding null checking [Mailer] Fix Trying to access array offset on value of type null error by adding null checking Mar 28, 2025
@nicolas-grekas nicolas-grekas modified the milestones: 7.2, 6.4 Mar 28, 2025
Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Bugfix for 6.4 when merging)

@khushaalan khushaalan requested a review from xabbuh April 2, 2025 23:32
…rage native lazy objects (nicolas-grekas)

This PR was merged into the 6.4 branch.

Discussion
----------

[DoctrineBridge] Fix support for entities that leverage native lazy objects

| Q             | A
| ------------- | ---
| Branch?       | 6.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Issues        | -
| License       | MIT

Commits
-------

382b3dd [DoctrineBridge] Fix support for entities that leverage native lazy objects
@fabpot
Copy link
Member

fabpot commented Apr 3, 2025

Thank you @khushaalan.

@fabpot fabpot merged commit 75d9991 into symfony:6.4 Apr 3, 2025
6 of 7 checks passed
This was referenced May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.