WordPress.org

Ready to get started?Download WordPress

Forums

Pods - Custom Content Types and Fields
[resolved] Pod not found (18 posts)

  1. weiz
    Member
    Posted 1 year ago #

    Today, when I changed the "wordpress address" and "site address", I met with a problem regarding Pods. When I would like to modify a file/image/video field, a box pops up saying
    Error:</br>
    <b>Warning</b>: array_merge()[function.array-merge]:Argument#1 is not an array in <b> /home/content/67/10373967/html/backoffice/wp-includes/post.php</b> on line <b>2996</b>

    <b>Warning</b>: array_merge()[function.array-merge]:Argument#1 is not an array in <b> /home/content/67/10373967/html/backoffice/wp-includes/post.php</b> on line <b>2996</b>
    Pod not found

    And when I refer to this field and tried to upload a pic, it also says 'Pod not found'.

    So how should I solve it?

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

  2. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    Was that the only change you made?

    • What version of Pods?
    • What version of WP exactly (3.5 or 3.5.1)?
    • Is this when you hit update on the post, or is it appearing when you upload the file itself?
    • Do you have issues uploading files in the Media menu itself?
  3. weiz
    Member
    Posted 1 year ago #

    1. Pods version is 2.2
    2. WP version is 3.5.1
    3. It appears when I upload the file and I used Plupload.
    4. There is no problem to upload files in Media menu.

  4. weiz
    Member
    Posted 1 year ago #

    I also restore the database by one time.
    The database is 8 hours ago.

  5. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    Changing the site URL shouldn't have any direct impact on Pods' functionality, did you also change servers?

  6. weiz
    Member
    Posted 1 year ago #

    No, Scott, I do not.
    The only thing I guess which may affect it is the change of URL, for I changed a such as http://aaa.com/bbb to http://ccc.com/

  7. weiz
    Member
    Posted 1 year ago #

    Scott, I remember using a CDN service but I used it for some time.
    At first, there is no such problem, but only appear when I changed URL.
    Do you think that may be the problem?

  8. weiz
    Member
    Posted 1 year ago #

    Scott, I found another problem that I can't even change any pod type.
    When I tried to modify some fields in a type and click save pod, it appears the same box.
    <b>Warning</b>: array_merge()[function.array-merge]:Argument#1 is not an array in <b> /home/content/67/10373967/html/backoffice/wp-includes/post.php</b> on line <b>2996</b>

    <b>Warning</b>: array_merge()[function.array-merge]:Argument#1 is not an array in <b> /home/content/67/10373967/html/backoffice/wp-includes/post.php</b> on line <b>2996</b>
    Pod not found

  9. weiz
    Member
    Posted 1 year ago #

    Scott, I tried deactivate Pods and reactivate it, then it works well without any problem. So I guessed that there were some errors with Pods' route when I changed the wordpress' URL.
    So how do you think I should modify Pods? Or what do you think of the problem?

  10. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    Did you say deactivating and reactivating Pods resolved your issue entirely?

  11. weiz
    Member
    Posted 1 year ago #

    Yes, Scott, when I deactivate and reactivate Pods, I can use it without any problem. But it also deletes all my setting of Pods before, so I still need to solve it by not taking this way.

  12. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    Sounds like you are deactivating and reseting Pods through the Pods Admin > Settings screen. Is that right? If so, there's wording there that explains what it does, it resets your settings and your Pod definitions. Your data remains intact (for meta-based content types).

    Are you still seeing the error once you recreate your settings?

  13. weiz
    Member
    Posted 1 year ago #

    No, Scott, I meant I reactivate Pods under wordpress>Plugins
    I tried "Reset Pods setting and Data" under Pods but found that all my settings of Pods lost and I have to restore my database to an early day.

    When I deactivate and reactivate Pods under Plugins, there is no error.

  14. weiz
    Member
    Posted 1 year ago #

    I used table based content type

  15. weiz
    Member
    Posted 1 year ago #

    Today, I tried to restore my database to an early time and Pods works perfectly again. So I worked on finding the problem in database and found that the problem should be in the table wp_posts and wp-postmeta.

    So do you have any suggestion on the possible of these two tables? Any change that may disable Pods in these two tables?

  16. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    I think I've reached the limit of what I can do from here without access to your site to see the issue. Since I can't reproduce it, it's difficult to get it fixed for you.

    Would you be open to providing temporary access to your site? If so, you can submit the information securely here: https://pods.io/help/

  17. weiz
    Member
    Posted 1 year ago #

    Scott,thanks for your help.
    I did a complete test on the website including restore the website to an earlier time and find the problem.

    It is because I used a CDN service. But I'm not sure whether it happen.
    Do you have any idea?

  18. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    Pods doesn't control CDN operations, so it's likely something in the media uploader functionality in WordPress itself was causing an issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic