-
-
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
Error: Item not found. When Adding Item with only relationships in pods 2.0.3.1 #1
Comments
ghost
assigned jchristopher
Sep 1, 2011
This was referenced Jul 26, 2012
Closed
ghost
assigned sc0ttkclark
Oct 10, 2012
GitHub bug! This wasn't even the original ticket.. Seems that when a user opened up #582 that this ticket was messed with. Hopefully it was just a temporary bug. |
Closed
Closed
pdclark
added a commit
to pdclark/pods
that referenced
this issue
Sep 14, 2021
A proposed solution for an error reported in this [Slack thread](https://podswp.slack.com/archives/C02SVLHQF/p1631628235171000). It appears that `$this->_parent` can contain either an object or a boolean. This should resolve the error by checking that it's an object before attempting to use the method `->is_anonymous()`. It looks like `$this->_parent` is used in other places in this class. Unknown if the `boolean` vs. `object` detail effects any other functionality. Error: ``` Error Details ============= An error of type E_ERROR was caused in line 23432 of the file /home/ekhulnac/public_html/destra/plugins/pods/vendor/freemius/wordpress-sdk/includes/class-freemius.php. Error message: Uncaught Error: Call to a member function is_anonymous() on bool in /home/ekhulnac/public_html/destra/plugins/pods/vendor/freemius/wordpress-sdk/includes/class-freemius.php:23432 Stack trace: #0 /home/ekhulnac/public_html/destra/plugins/pods/vendor/freemius/wordpress-sdk/includes/class-freemius.php(2051): Freemius->_add_tracking_links() pods-framework#1 /home/ekhulnac/public_html/wp-includes/class-wp-hook.php(303): Freemius->_hook_action_links_and_register_account_hooks('') pods-framework#2 /home/ekhulnac/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) pods-framework#3 /home/ekhulnac/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array) pods-framework#4 /home/ekhulnac/public_html/wp-admin/admin.php(175): do_action('admin_init') pods-framework#5 /home/ekhulnac/public_html/wp-admin/plugins.php(10): require_once('/home/ekhulnac/...') pods-framework#6 {main} ```
This was referenced Oct 19, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I made a 'bunnies' Custom Content Type.
I only added two fields. An image field, and a category (relationship to categories taxonomy) field. When trying to add an item, I get an Error: Item not found message..and the url shows an id=0, like
?page=pods_bunnies&action=edit&do=create&id=0
When I go back and edit the Content Type and add some arbitrary field that would actually save to the _pods_bunnies table (like a text field) instead of ONLY saving an id, I can successfully add an item and the url displays the new item id like
?page=pods_bunnies&action=edit&do=create&id=1
The text was updated successfully, but these errors were encountered: