René's URL Explorer Experiment


Title: System.InvalidCastException: 'Unable to cast object of type 'System.Int32' to type 'System.String'.' · Issue #43 · StringEpsilon/PhpSerializerNET · GitHub

Open Graph Title: System.InvalidCastException: 'Unable to cast object of type 'System.Int32' to type 'System.String'.' · Issue #43 · StringEpsilon/PhpSerializerNET

X Title: System.InvalidCastException: 'Unable to cast object of type 'System.Int32' to type 'System.String'.' · Issue #43 · StringEpsilon/PhpSerializerNET

Description: Using latest - I was on 1.4.0 still, but i now need to upgrade to 2.1.0. System.InvalidCastException HResult=0x80004002 Message=Unable to cast object of type 'System.Int32' to type 'System.String'. Source=System.Private.CoreLib StackTrac...

Open Graph Description: Using latest - I was on 1.4.0 still, but i now need to upgrade to 2.1.0. System.InvalidCastException HResult=0x80004002 Message=Unable to cast object of type 'System.Int32' to type 'System.String'....

X Description: Using latest - I was on 1.4.0 still, but i now need to upgrade to 2.1.0. System.InvalidCastException HResult=0x80004002 Message=Unable to cast object of type 'System.Int32' to type 'Sys...

Opengraph URL: https://github.com/StringEpsilon/PhpSerializerNET/issues/43

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"System.InvalidCastException: 'Unable to cast object of type 'System.Int32' to type 'System.String'.'","articleBody":"Using latest - I was on 1.4.0 still, but i now need to upgrade to 2.1.0. \n\n```\nSystem.InvalidCastException\n  HResult=0x80004002\n  Message=Unable to cast object of type 'System.Int32' to type 'System.String'.\n  Source=System.Private.CoreLib\n  StackTrace:\n   at System.Runtime.CompilerServices.CastHelpers.ChkCast_Helper(Void* toTypeHnd, Object obj)\n   at PhpSerializerNET.PhpDeserializer.MakeClass(PhpToken\u0026 token)\n   at PhpSerializerNET.PhpDeserializer.DeserializeToken(PhpToken\u0026 token)\n   at PhpSerializerNET.PhpSerialization.Deserialize(String input, PhpDeserializationOptions options)\n   at [REDACTED]\n```\n\n```\nO:40:\"KPS\\Shipping\\TrackingProviders\\B2CEurope\":1:{i:0;s:9:\"B2CEurope\";}\n```\n```\n__PHP_Incomplete_Class Object\n(\n    [__PHP_Incomplete_Class_Name] =\u003e KPS\\Shipping\\TrackingProviders\\B2CEurope\n    [0] =\u003e B2CEurope\n)\n```\n``` csharp\n// We don't use a model because there is more than one version, and we only want 1 property any ways.\nvar trackingProvider = (PhpObjectDictionary?)PhpSerialization.Deserialize(trackingProviderMetaValue, new() { EnableTypeLookup = false });\n\nif (trackingProvider != null \u0026\u0026 trackingProvider.TryGetValue(\"provider_name\", out var pNameObject))\n{\n    var pName = (string?)pNameObject;\n    if (!string.IsNullOrWhiteSpace(pName)\n        \u0026\u0026 !pName.Equals(\"none\", StringComparison.InvariantCultureIgnoreCase)\n        \u0026\u0026 !pName.Equals(\"unknown\", StringComparison.InvariantCultureIgnoreCase))\n    {\n        providerNames.Add(pName);\n    }\n}\n```\n","author":{"url":"https://github.com/sommmen","@type":"Person","name":"sommmen"},"datePublished":"2025-03-10T08:37:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/43/PhpSerializerNET/issues/43"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:be3170dd-50b3-bb51-2d09-7cd4b7ae2e27
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE000:36E597:4D69487:6D54EDC:6A4FD54E
html-safe-nonceb145d9990988e8f51ce2c0038af70b88fab53252260bdc5777a4085776390e3c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDAwOjM2RTU5Nzo0RDY5NDg3OjZENTRFREM6NkE0RkQ1NEUiLCJ2aXNpdG9yX2lkIjoiMzUyMzA3MDMyNTAzMjk5ODIyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca22813b2ae6d97bdc047ae3ed9aa17162fbdded509b2494364807607952c19de
hovercard-subject-tagissue:2906477955
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/StringEpsilon/PhpSerializerNET/43/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9f90d04cfb2b7ef708b331644cd7f264260c23de45459d92a4ac8a04bee73289/StringEpsilon/PhpSerializerNET/issues/43
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9f90d04cfb2b7ef708b331644cd7f264260c23de45459d92a4ac8a04bee73289/StringEpsilon/PhpSerializerNET/issues/43
og:image:altUsing latest - I was on 1.4.0 still, but i now need to upgrade to 2.1.0. System.InvalidCastException HResult=0x80004002 Message=Unable to cast object of type 'System.Int32' to type 'System.String'....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesommmen
hostnamegithub.com
expected-hostnamegithub.com
None19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c
turbo-cache-controlno-preview
go-importgithub.com/StringEpsilon/PhpSerializerNET git https://github.com/StringEpsilon/PhpSerializerNET.git
octolytics-dimension-user_id5951778
octolytics-dimension-user_loginStringEpsilon
octolytics-dimension-repository_id403361593
octolytics-dimension-repository_nwoStringEpsilon/PhpSerializerNET
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id403361593
octolytics-dimension-repository_network_root_nwoStringEpsilon/PhpSerializerNET
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release142593e66413bbae27fd485859993597d5a3b104
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/StringEpsilon/PhpSerializerNET/issues/43#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FStringEpsilon%2FPhpSerializerNET%2Fissues%2F43
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FStringEpsilon%2FPhpSerializerNET%2Fissues%2F43
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=StringEpsilon%2FPhpSerializerNET
Reloadhttps://github.com/StringEpsilon/PhpSerializerNET/issues/43
Reloadhttps://github.com/StringEpsilon/PhpSerializerNET/issues/43
Reloadhttps://github.com/StringEpsilon/PhpSerializerNET/issues/43
StringEpsilon https://github.com/StringEpsilon
PhpSerializerNEThttps://github.com/StringEpsilon/PhpSerializerNET
Notifications https://github.com/login?return_to=%2FStringEpsilon%2FPhpSerializerNET
Fork 3 https://github.com/login?return_to=%2FStringEpsilon%2FPhpSerializerNET
Star 16 https://github.com/login?return_to=%2FStringEpsilon%2FPhpSerializerNET
Code https://github.com/StringEpsilon/PhpSerializerNET
Issues 3 https://github.com/StringEpsilon/PhpSerializerNET/issues
Pull requests 0 https://github.com/StringEpsilon/PhpSerializerNET/pulls
Actions https://github.com/StringEpsilon/PhpSerializerNET/actions
Projects https://github.com/StringEpsilon/PhpSerializerNET/projects
Security and quality 0 https://github.com/StringEpsilon/PhpSerializerNET/security
Insights https://github.com/StringEpsilon/PhpSerializerNET/pulse
Code https://github.com/StringEpsilon/PhpSerializerNET
Issues https://github.com/StringEpsilon/PhpSerializerNET/issues
Pull requests https://github.com/StringEpsilon/PhpSerializerNET/pulls
Actions https://github.com/StringEpsilon/PhpSerializerNET/actions
Projects https://github.com/StringEpsilon/PhpSerializerNET/projects
Security and quality https://github.com/StringEpsilon/PhpSerializerNET/security
Insights https://github.com/StringEpsilon/PhpSerializerNET/pulse
System.InvalidCastException: 'Unable to cast object of type 'System.Int32' to type 'System.String'.'https://github.com/StringEpsilon/PhpSerializerNET/issues/43#top
https://github.com/sommmen
sommmenhttps://github.com/sommmen
on Mar 10, 2025https://github.com/StringEpsilon/PhpSerializerNET/issues/43#issue-2906477955
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.