-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
Getting Fatal Error after WP Update #5662
Comments
Have you tried redownloading Pods yet? |
Nevermind, found the issue. @JoryHogeveen See our usage of the |
@sc0ttkclark |
It happens every time I try to add a new post. It started happening after the latest WP update. The problem Pod had one field "Sale Price" with the type "Currrency" and one field "List to Sale Price" with the type "Plain Number". Changed "Sale Price" to "Plain Text" - still got error Changed "Sale Price" back to "Currency" - no error (field had value) Removed value from "List to Sale Price" - got error in input form at "List to Sale Price" field and Fatal Error when trying to view post My current conclusion: if there is no value in a "Number" field, error. If there are values in the "Number" fields, no error. Therefore, I can get around the error by entering 0 as the value for those fields. I had a conditional testing for an empty field. I will change it to test for zero-value instead. |
Hi @sueboothby Check, not sure why, but I can only replicate a warning, not a fatal error. |
@sueboothby You can download the patched version of Pods through https://pods.io/latest/ |
@jimtrue Not yet, this patch isn't merged yet. Download link of the patch: |
Let me know when the patch is merged. Thank you for working on this. |
@sueboothby |
@sueboothby To make it easier, here's the ZIP for the fixed version of Pods you'll want to test with: https://github.com/pods-framework/pods/archive/feature/5662-php-warning-operand-types.zip |
I installed the patched version of Pods. The issue is resolved. Thank you!!! |
Issue Overview
Getting Fatal Error when adding new Pods posts
Expected Behavior
I expect the page to render as usual
Current Behavior
I am getting the following error message:
Steps to Reproduce (for bugs)
https://peterglaughlin.com/sarasota-luxury-homes/8350-carolina-street/
Possible Solution
WordPress Environment
Pods Package Export (helpful!)
Workaround or Alternate Solution Until Bug is Addressed
Related Issues and/or PRs
The text was updated successfully, but these errors were encountered: