You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello friends, long time no Pods! I have a site that is pretty creaky-old using Pods. Upon the update to the most recent version, I’m getting a fatal error when attempting to edit Pod data. Error text as follows:
WordPress version 5.8.2
Current plugin: Pods - Custom Content Types and Fields (version 2.8.4.1)
PHP version 7.4.25
Error Details
An error of type E_ERROR was caused in line 388 of the file /path/to/site/wp-content/plugins/pods/classes/PodsField.php. Error message: Uncaught Error: Cannot use object of type Pod as array in /path/to/site/wp-content/plugins/pods/classes/PodsField.php:388
Stack trace:
#0 /path/to/site/wp-content/plugins/pods/classes/PodsField.php(329): PodsField->render_input_script(Object(stdClass)) #1 /path/to/site/wp-content/plugins/pods/classes/fields/pick.php(902): PodsField->input(‘pods_field_auth...’, Array, Array, Object(Pod), ‘40’) #2 /path/to/site/wp-content/plugins/pods/classes/PodsForm.php(278): PodsField_Pick->input(‘pods_field_auth...’, Array, Array, Object(Pod), ‘40’) #3 /path/to/site/wp-content/plugins/pods/ui/forms/table-row.php(37): PodsForm::field(‘pods_field_auth...’, Array, ‘pick’, Array, Object(Pod), ‘40’) #4 /path/to/site/wp-content/plugins/pods/classes/PodsView.php(527): require(‘/www/michaelmcc...’) #5 /path/to/site/wp-content/plugins/pods/classes/PodsView.php(118): PodsView::get_template
Description
Hello friends, long time no Pods! I have a site that is pretty creaky-old using Pods. Upon the update to the most recent version, I’m getting a fatal error when attempting to edit Pod data. Error text as follows:
WordPress version 5.8.2
Current plugin: Pods - Custom Content Types and Fields (version 2.8.4.1)
PHP version 7.4.25
Error Details
An error of type E_ERROR was caused in line 388 of the file /path/to/site/wp-content/plugins/pods/classes/PodsField.php. Error message: Uncaught Error: Cannot use object of type Pod as array in /path/to/site/wp-content/plugins/pods/classes/PodsField.php:388
Stack trace:
#0 /path/to/site/wp-content/plugins/pods/classes/PodsField.php(329): PodsField->render_input_script(Object(stdClass))
#1 /path/to/site/wp-content/plugins/pods/classes/fields/pick.php(902): PodsField->input(‘pods_field_auth...’, Array, Array, Object(Pod), ‘40’)
#2 /path/to/site/wp-content/plugins/pods/classes/PodsForm.php(278): PodsField_Pick->input(‘pods_field_auth...’, Array, Array, Object(Pod), ‘40’)
#3 /path/to/site/wp-content/plugins/pods/ui/forms/table-row.php(37): PodsForm::field(‘pods_field_auth...’, Array, ‘pick’, Array, Object(Pod), ‘40’)
#4 /path/to/site/wp-content/plugins/pods/classes/PodsView.php(527): require(‘/www/michaelmcc...’)
#5 /path/to/site/wp-content/plugins/pods/classes/PodsView.php(118): PodsView::get_template
Version
2.8.4.1
Testing Instructions
No response
Screenshots / Screencast
Possible Workaround
No response
Site Health Information
Pods Package
The text was updated successfully, but these errors were encountered: