• Resolved rinoxstudio

    (@rinoxstudio)


    Hi,

    After 2.8 update there is a problem, that met just one of our sites.
    Can’t touch pods editor, create new posts.

    1. When I go to Pods editor and click on any pod to edit I see next errors instead of editor workspace:

    Notice: Trying to get property 'ID' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 7333
    
    Notice: Trying to get property 'ID' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 7334
    
    Notice: Trying to get property 'ID' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 7334
    
    Notice: Trying to get property 'ID' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 7345
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 7353
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 7353
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 7353
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 7358
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 7359
    
    Notice: Trying to get property 'ID' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 7363
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 7605
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/nav-menu.php on line 1091
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/theme.php on line 3421
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/theme.php on line 3645
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 5148
    
    Notice: Trying to get property 'ID' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 5148
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 4457
    
    Warning: Invalid argument supplied for foreach() in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/classes/PodsAPI.php on line 310
    
    Warning: Invalid argument supplied for foreach() in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/classes/PodsAPI.php on line 360
    Cannot save group to collection

    ________________________________________
    2. When I go to any post type post editor – it loads too long, depending on quantity of additional fields used on this post type.
    ________________________________________
    3. When I try to create new post of any post type I see next:

    —– Above the workspace:

    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 7358
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 7359
    
    Notice: Trying to get property 'ID' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 7363
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 7605
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/theme.php on line 3421
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/theme.php on line 3645
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 5148
    
    Notice: Trying to get property 'ID' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 5148
    
    Notice: Trying to get property 'post_type' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php on line 4457
    
    Warning: Creating default object from empty value in /var/www/u1432973/data/www/test.vshp.pro/wp-admin/includes/post.php on line 736
    
    Notice: Undefined property: stdClass::$ID in /var/www/u1432973/data/www/test.vshp.pro/wp-admin/post-new.php on line 67
    
    Notice: Undefined property: stdClass::$post_date in /var/www/u1432973/data/www/test.vshp.pro/wp-admin/edit-form-advanced.php on line 175
    
    Notice: Undefined property: stdClass::$post_date in /var/www/u1432973/data/www/test.vshp.pro/wp-admin/edit-form-advanced.php on line 177
    
    Notice: Undefined property: stdClass::$post_date in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/classes/PodsInit.php on line 1966
    
    Notice: Undefined property: stdClass::$post_date in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/classes/PodsInit.php on line 1966
    
    Notice: Undefined property: stdClass::$post_date in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/classes/PodsInit.php on line 1966
    
    Notice: Undefined property: stdClass::$post_date in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/classes/PodsInit.php on line 1966
    
    Notice: Undefined property: stdClass::$post_date in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/classes/PodsInit.php on line 1966
    
    Notice: Undefined property: stdClass::$post_date in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/classes/PodsInit.php on line 1966
    
    Notice: Undefined property: stdClass::$post_date in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/classes/PodsInit.php on line 1966
    
    Notice: Undefined property: stdClass::$post_date in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/classes/PodsInit.php on line 1966
    
    Notice: Undefined property: stdClass::$post_date in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/classes/PodsInit.php on line 1966
    
    Notice: Undefined property: stdClass::$post_date in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/classes/PodsInit.php on line 1966
    
    Notice: Undefined property: stdClass::$post_date in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/components/Templates/Templates.php on line 190
    
    Notice: Undefined property: stdClass::$post_date in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/components/Templates/Templates.php on line 202
    
    Notice: Undefined property: stdClass::$post_status in /var/www/u1432973/data/www/test.vshp.pro/wp-admin/edit-form-advanced.php on line 233
    
    Notice: Undefined property: stdClass::$post_type in /var/www/u1432973/data/www/test.vshp.pro/wp-admin/includes/meta-boxes.php on line 1426
    
    Notice: Undefined property: stdClass::$post_type in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/taxonomy.php on line 245
    
    Notice: Undefined property: stdClass::$post_type in /var/www/u1432973/data/www/test.vshp.pro/wp-includes/taxonomy.php on line 248
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/u1432973/data/www/test.vshp.pro/wp-includes/post.php:7358) in /var/www/u1432973/data/www/test.vshp.pro/wp-admin/admin-header.php on line 9

    ——– Above the post title input:
    Notice: Undefined property: stdClass::$post_type in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/classes/PodsMeta.php on line 1051

    Notice: Trying to access array offset on value of type null in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/classes/PodsMeta.php on line 1116

    ——– Above post link:
    Notice: Undefined property: stdClass::$post_status in /var/www/u1432973/data/www/test.vshp.pro/wp-admin/edit-form-advanced.php on line 554

    ——- Above the first input in ‘More Fields’ block:
    Notice: Undefined property: stdClass::$post_type in /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/classes/PodsMeta.php on line 1139

    ——- Above Save button in ‘Publish’ block on the right side:

    Notice: Undefined property: stdClass::$post_type in /var/www/u1432973/data/www/test.vshp.pro/wp-admin/includes/meta-boxes.php on line 34
    
    Notice: Trying to get property 'cap' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-admin/includes/meta-boxes.php on line 36
    
    Notice: Trying to get property 'publish_posts' of non-object in /var/www/u1432973/data/www/test.vshp.pro/wp-admin/includes/meta-boxes.php on line 36
    
    Notice: Undefined property: stdClass::$post_status in /var/www/u1432973/data/www/test.vshp.pro/wp-admin/includes/meta-boxes.php on line 50
    
    Notice: Undefined property: stdClass::$post_status in /var/www/u1432973/data/www/test.vshp.pro/wp-admin/includes/meta-boxes.php on line 52

    Can you help me to find a solution of this problem?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

    I haven’t seen these in testing but I will look over them to see if it explains what circumstance led you to them.

    Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

    Can you post your Site Health information?

    You can get that at Tools > Site Health > Info tab > Copy site info to clipboard

    Then you can paste that here in a reply.

    Thread Starter rinoxstudio

    (@rinoxstudio)

    
    ### wp-core ###
    
    version: 5.8.1
    site_language: ru_RU
    user_language: en_US
    timezone: +03:00
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 3
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /var/www/u1432973/data/www/test.vshp.pro
    wordpress_size: 74,10 МБ (77695468 bytes)
    uploads_path: /var/www/u1432973/data/www/test.vshp.pro/wp-content/uploads
    uploads_size: 1 022,60 МБ (1072273313 bytes)
    themes_path: /var/www/u1432973/data/www/test.vshp.pro/wp-content/themes
    themes_size: 128,26 МБ (134494459 bytes)
    plugins_path: /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins
    plugins_size: 61,42 МБ (64408325 bytes)
    database_size: 210,67 МБ (220905472 bytes)
    total_size: 1,46 ГБ (1569777037 bytes)
    
    ### wp-active-theme ###
    
    name: Rinox Studio Template (rinox)
    version: 1.0
    author: Rinox Studio
    author_website: http://rinox.by
    parent_theme: none
    theme_features: core-block-patterns, post-thumbnails, widgets-block-editor, menus
    theme_path: /var/www/u1432973/data/www/test.vshp.pro/wp-content/themes/rinox
    auto_update: Disabled
    
    ### wp-themes-inactive (1) ###
    
    Twenty Twenty-One: version: 1.4, author: the WordPress team, Auto-updates disabled
    
    ### wp-plugins-active (1) ###
    
    Pods - Custom Content Types and Fields: version: 2.8.2, author: Pods Framework Team (latest version: 2.8.3), Auto-updates disabled
    
    ### wp-plugins-inactive (14) ###
    
    Advanced Database Cleaner: version: 3.0.3, author: Younes JFR., Auto-updates disabled
    Advanced Editor Tools (previously TinyMCE Advanced): version: 5.6.0, author: Automattic, Auto-updates disabled
    Breadcrumb NavXT: version: 6.6.0, author: John Havlik, Auto-updates enabled
    Contact Form 7: version: 5.5.2, author: Takayuki Miyoshi, Auto-updates enabled
    Cyr to Lat enhanced: version: 3.5, author: Sol, Sergey Biryukov, Nikolay Karev, Dmitri Gogelia, Auto-updates disabled
    Flamingo: version: 2.2.2, author: Takayuki Miyoshi, Auto-updates enabled
    Google XML Sitemaps: version: 4.1.1, author: Auctollo, Auto-updates disabled
    Regenerate Thumbnails: version: 3.1.5, author: Alex Mills (Viper007Bond), Auto-updates enabled
    Shortcodes Ultimate: version: 5.11.0, author: Vladimir Anokhin, Auto-updates enabled
    SMTP Mailer: version: 1.1.2, author: naa986, Auto-updates enabled
    WP Activity Log: version: 4.3.3.1, author: WP White Security, Auto-updates enabled
    WP Term Order: version: 1.0.0, author: John James Jacoby, Auto-updates disabled
    Yoast Duplicate Post: version: 4.1.2, author: Enrico Battocchi & Team Yoast, Auto-updates enabled
    Yoast SEO: version: 17.4, author: Team Yoast, Auto-updates disabled
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1690
    imagemagick_version: ImageMagick 6.9.10-86 Q16 x86_64 2021-10-18 https://imagemagick.org
    imagick_version: 3.4.4
    file_uploads: File uploads is turned off
    post_max_size: 128M
    upload_max_filesize: 128M
    max_effective_size: 128 MB
    max_file_uploads: 20
    imagick_limits: 
    	imagick::RESOURCETYPE_AREA: 251 GB
    	imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
    	imagick::RESOURCETYPE_FILE: 384
    	imagick::RESOURCETYPE_MAP: 251 GB
    	imagick::RESOURCETYPE_MEMORY: 126 GB
    	imagick::RESOURCETYPE_THREAD: 1
    imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, WebP, BMP
    ghostscript_version: 9.25
    
    ### wp-server ###
    
    server_architecture: Linux 3.10.0-1160.25.1.el7.x86_64 x86_64
    httpd_software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 Phusion_Passenger/5.3.7
    php_version: 7.4.14 64bit
    php_sapi: cgi-fcgi
    max_input_variables: 10000
    time_limit: 300
    memory_limit: 1024M
    max_input_time: -1
    upload_max_filesize: 128M
    php_post_max_size: 128M
    curl_version: 7.69.1 OpenSSL/1.0.2k-fips
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: false
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 5.7.27-30
    client_version: mysqlnd 7.4.14
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /var/www/u1432973/data/www/test.vshp.pro/wp-content
    WP_PLUGIN_DIR: /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 1024M
    WP_DEBUG: true
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: true
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_LOCAL_DEV: undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    
    ### pods ###
    
    pods-server-software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 Phusion_Passenger/5.3.7
    pods-user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36
    pods-session-save-path: /tmp/u1432973
    pods-session-save-path-exists: Yes
    pods-session-save-path-writable: Yes
    pods-session-max-lifetime: 1440
    pods-opcode-cache-apc: No
    pods-opcode-cache-memcached: No
    pods-opcode-cache-opcache: Yes
    pods-opcode-cache-redis: No
    pods-object-cache-apc: No
    pods-object-cache-apcu: No
    pods-object-cache-memcache: Yes
    pods-object-cache-memcached: Yes
    pods-object-cache-redis: No
    pods-memory-current-usage: 6.218M
    pods-memory-current-usage-real: 2.000M
    pods-network-wide: No
    pods-install-location: /var/www/u1432973/data/www/test.vshp.pro/wp-content/plugins/pods/
    pods-developer: No
    pods-tableless-mode: No
    pods-relationship-table-enabled: Yes
    pods-light-mode: No
    pods-strict: No
    pods-allow-deprecated: Yes
    pods-api-cache: Yes
    pods-shortcode-allow-evaluate-tags: No
    pods-sessions: Disable sessions
    pods-can-use-sessions: Yes
    
    
    Thread Starter rinoxstudio

    (@rinoxstudio)

    One more thing:
    When I even try to create a new pod there is an alert “Error: Cannot save pod to collection”

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @rinoxstudio

    I see you were using Pods 2.8.2, could you test with Pods 2.8.3 which has just been released?

    Cheers, Jory

    Thread Starter rinoxstudio

    (@rinoxstudio)

    Hi @keraweb
    Yes, I tried 2.8.3 – no changes… (

    Thread Starter rinoxstudio

    (@rinoxstudio)

    Sorry, that was my fault… Huge DB got errors when doing a copy for test site.
    Database migration part by part solved this problem.

    • This reply was modified 4 years, 7 months ago by rinoxstudio.
    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @rinoxstudio

    No problem! Thanks for letting us know!

    Cheers, Jory

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Editing Pods and posts errors after 2.8+ update’ is closed to new replies.