Title: Trigger error when trying to serialize Object with "__sleep" · Issue #377 · igbinary/igbinary · GitHub
Open Graph Title: Trigger error when trying to serialize Object with "__sleep" · Issue #377 · igbinary/igbinary
X Title: Trigger error when trying to serialize Object with "__sleep" · Issue #377 · igbinary/igbinary
Description: Hi, I'm using igbinary 3.2.14 with a symfony 6.2 project and doctrine dbal 3.6.1 orm 2.14.1 php 8.2.2 While i was testing our new cache class, i noticed an issue with doctrine and igbinary. Typed property Proxies\__CG__\App\Entity\Busine...
Open Graph Description: Hi, I'm using igbinary 3.2.14 with a symfony 6.2 project and doctrine dbal 3.6.1 orm 2.14.1 php 8.2.2 While i was testing our new cache class, i noticed an issue with doctrine and igbinary. Typed p...
X Description: Hi, I'm using igbinary 3.2.14 with a symfony 6.2 project and doctrine dbal 3.6.1 orm 2.14.1 php 8.2.2 While i was testing our new cache class, i noticed an issue with doctrine and igbinary. Typ...
Opengraph URL: https://github.com/igbinary/igbinary/issues/377
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Trigger error when trying to serialize Object with \"__sleep\"","articleBody":"Hi,\r\nI'm using \r\n- igbinary 3.2.14 \r\n- with a symfony 6.2 project \r\n- and doctrine dbal 3.6.1\r\n- orm 2.14.1\r\n- php 8.2.2\r\n\r\nWhile i was testing our new cache class, i noticed an issue with doctrine and igbinary.\r\n\r\n`\r\nTyped property Proxies\\__CG__\\App\\Entity\\BusinessUnit::$ must not be accessed before initialization (in __sleep)\r\n`\r\n\r\nThis is trigger with `igbinary_serialize($object)`.\r\nThe function `serialize($object)` native php is working and not does trigger any error.\r\n\r\nPhp fixed the issue in 7.4.6 (change log [here](https://www.php.net/ChangeLog-7.php#7.4.6))\r\nand the bugfix thread : [here](https://bugs.php.net/bug.php?id=79447)\r\n\r\nI have to stop to use igbinary because of this issue :(\r\nCould it be possible to have a look and fix it ?\r\nI'm not an expert but i guess it should help to check the fix of php to fix igbinary ?\r\n\r\nThanks\r\nRadyium","author":{"url":"https://github.com/kruggs","@type":"Person","name":"kruggs"},"datePublished":"2023-03-30T09:46:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/377/igbinary/issues/377"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:686ef546-6a11-1612-d94b-ff85e0664395 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BDB6:1C3207:FE718A:1468E50:697E481E |
| html-safe-nonce | 24ce35b0bf7be652faadf1872ff729e4ba370df644ac933beb875be7faef85eb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREI2OjFDMzIwNzpGRTcxOEE6MTQ2OEU1MDo2OTdFNDgxRSIsInZpc2l0b3JfaWQiOiI3OTQxMjY1NjMxNTE1Mzk2MTI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b567a86b6c1d0c2ef8e5c2634e62140dc47e89b25aa11ef0fbefd4f28e7126de |
| hovercard-subject-tag | issue:1647276202 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/igbinary/igbinary/377/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b6f9c1851f02e3a6267e7157abec1d73315e3e9609c842ae92102990db4f6255/igbinary/igbinary/issues/377 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b6f9c1851f02e3a6267e7157abec1d73315e3e9609c842ae92102990db4f6255/igbinary/igbinary/issues/377 |
| og:image:alt | Hi, I'm using igbinary 3.2.14 with a symfony 6.2 project and doctrine dbal 3.6.1 orm 2.14.1 php 8.2.2 While i was testing our new cache class, i noticed an issue with doctrine and igbinary. Typed p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kruggs |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/igbinary/igbinary git https://github.com/igbinary/igbinary.git |
| octolytics-dimension-user_id | 555243 |
| octolytics-dimension-user_login | igbinary |
| octolytics-dimension-repository_id | 1237364 |
| octolytics-dimension-repository_nwo | igbinary/igbinary |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 155943 |
| octolytics-dimension-repository_parent_nwo | phadej/igbinary |
| octolytics-dimension-repository_network_root_id | 155943 |
| octolytics-dimension-repository_network_root_nwo | phadej/igbinary |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width