Support » Plugin: Pods - Custom Content Types and Fields » Error when adding a new item to Advanced Content Type

  • Resolved lord_dev

    (@lord_dev)


    Hi,

    I am receiving a strange error:

    I have created an Advanced Content Type called ‘sponsors’, and setup some basic image and text fields which works fine. But when I try to save an actual sponsor item e.g. click ‘Save New Sponsor’ I get a strange ‘Error: Sponsor not found’.

    It does actually add the sponsor and all the necessary fields are saved. However, it looks really bad for my clients when they are working on the website.

    Can anyone please suggest a solution to get rid of this?

    So far I have tried:

    – Clearing Pods Framework cache
    – Tried on several different websites
    – Disabling/Enabling the Pods plugin
    – Random combinations

    Pods version: 2.3.18
    WP version: 3.8.1

    Thanks in advance!

    http://wordpress.org/plugins/pods/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lord_dev

    (@lord_dev)

    Solution: Disable error reporting.

    How?

    Go to wp-config.php and add the following code on the last line:

    error_reporting(0);

    In order for the line above to work, it most come after the call to wp-settings.php – for example:

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');
    
    error_reporting(0);
    Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

    Pods relies on AJAX requests, errors and notices from other plugins or themes can cause issues with that. We’re working on improving that in future releases. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error when adding a new item to Advanced Content Type’ is closed to new replies.