• Resolved Pixel Fish

    (@kevin-fouche)


    We are in the process of upgrading all of our Elementor sites to PHP8 and we have discovered the upgrade causes a critical error for EXISTING Elementor Pages. You can clone NEW pages fine, however not existing pages. Running native twenty twenty three theme and only 2 x plugins active (Elementor & Yoast Duplicate Post)

    See video: https://share.vidyard.com/watch/GrdiKvWT2wrcSkUPmxX5My?

    • This topic was modified 1 year, 8 months ago by Pixel Fish.
    • This topic was modified 1 year, 8 months ago by Pixel Fish.
    • This topic was modified 1 year, 8 months ago by Pixel Fish.
    • This topic was modified 1 year, 8 months ago by Pixel Fish.
    • This topic was modified 1 year, 8 months ago by Pixel Fish.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Enrico Battocchi

    (@lopo)

    Hi @kevin-fouche,
    we’re sorry to hear that you are experiencing problems.
    We haven’t been able to reproduce the bug:

    • we created some Elementor pages in PHP 7.4, either with Elementor 3.7.4 (which was the main version on Sep 10th) and 3.8.1
    • we switched to PHP 8.0, and later even PHP 8.1
    • we made sure to be on the latest Elementor version
    • we tried to copy those pages with Yoast Duplicate Post bu we didn’t get any error or warnings, even with WP_DEBUG on

    Can you maybe help us in finding what’s the actual error by looking at the PHP error logs, or installing a plugin such as Query Monitor? We are working hard to improve the compatibility of our plugins with PHP 8.* and those info would be very valuable to us.
    Thanks for your report and your help!

    Thread Starter Pixel Fish

    (@kevin-fouche)

    Thanks for getting back to me.

    This is an example of an error log when trying to clone an Elementor page after updating to PHP8. I hope this helps…

    2022/11/21 23:56:17 [error] 11229#11229: *127944 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: The script tried to modify a property on an incomplete object. Please ensure that the class definition "ET_Core_PageResource" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition in /www/cloneelementor_271/public/wp-includes/formatting.php:5010
    Stack trace:
    #0 /www/cloneelementor_271/public/wp-includes/formatting.php(5005): map_deep(Object(__PHP_Incomplete_Class), 'duplicate_post_...')
    #1 /www/cloneelementor_271/public/wp-content/plugins/duplicate-post/admin-functions.php(400): map_deep(Array, 'duplicate_post_...')
    #2 /www/cloneelementor_271/public/wp-content/plugins/duplicate-post/admin-functions.php(424): duplicate_post_addslashes_deep(Array)
    #3 /www/cloneelementor_271/public/wp-content/plugins/duplicate-post/admin-functions.php(386): duplicate_post_wp_slash(Array)
    #4 /www/cloneelementor_271/public/wp-includes/class-wp-hook.php(309): duplicate_post_copy_post_me" while reading response header from upstream, client: 59.102.125.221, server: cloneelementor.temp927.kinsta.cloud, request: "GET /wp-admin/admin.php?action=duplicate_post_clone&post=49&_wpnonce=b6d38c81f6 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php8.0-fpm-cloneelementor.sock:", host: "cloneelementor.temp927.kinsta.cloud:59551", referrer: "https://cloneelementor.temp927.kinsta.cloud/wp-admin/edit.php?post_type=page"
    Thread Starter Pixel Fish

    (@kevin-fouche)

    Hi there is there any feedback in regards to this? This is occurring on multiple sites, so it is not an isolated event.

    Plugin Support Jeroen Rotty

    (@jeroenrotty)

    Hey @kevin-fouche,

    Thank you for your replies and error log.

    However, I tried to replicate it but to no avail. This is what I tried:

    I have tested on local sites through Local (by Flywheel), running the latest Yoast SEO (v19.11), Elementor (v3.8.1) and Yoast Duplicate Post (v.4.5).

    Both on PHP 8.0.22, PHP 8.1.9 – I had no issues. No error logs or visual errors while cloning existing or new pages, posts or when trying to do a rewrite and republish.

    In the error log you shared there is a reference to some autoloading. Do you happen to run anything specifically on the hosting level that does something with speed/loading? When you said it happens on multiple sites you are maintaining, do they live on the same hosting environment? Can you share more details on that? Maybe a Site Health site info copy would be nice to see.

    Thread Starter Pixel Fish

    (@kevin-fouche)

    Hey Jeroen, all sites are hosted on Kinsta. where can I send site health info to? Is the a support desk instead of a public forum?

    Plugin Support Jeroen Rotty

    (@jeroenrotty)

    Hey @kevin-fouche,

    Personal or private email support comes only available with our premium plugins, and not for our free plugin Duplicate Post. The Site Health info should not contain any security or other personal details as far as I know, but you could mask some of the content or links if necessary.

    Thread Starter Pixel Fish

    (@kevin-fouche)

    wp-core
    
    version: 6.0.3
    site_language: en_AU
    user_language: en_AU
    timezone: Australia/Sydney
    permalink: /%category%/%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 0
    default_comment_status: closed
    environment_type: production
    user_count: 2
    dotorg_communication: true wp-paths-sizes wordpress_path: /www/cloneelementor_271/public
    wordpress_size: 54.31 MB (56944999 bytes)
    uploads_path: /www/cloneelementor_271/public/wp-content/uploads
    uploads_size: 2.69 MB (2818134 bytes)
    themes_path: /www/cloneelementor_271/public/wp-content/themes
    themes_size: 26.50 MB (27784963 bytes)
    plugins_path: /www/cloneelementor_271/public/wp-content/plugins
    plugins_size: 162.17 MB (170051113 bytes)
    database_size: 17.34 MB (18186240 bytes)
    total_size: 263.01 MB (275785449 bytes) wp-dropins (1) advanced-cache.php: true wp-active-theme name: Pixel Fish Child (pixel-fish-child)
    version: 1.0.0
    author: Pixel Fish
    author_website: https://www.pixelfish.com.au/
    parent_theme: Astra (astra)
    theme_features: core-block-patterns, astra_hooks, widgets-block-editor, align-wide, automatic-feed-links, title-tag, post-thumbnails, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, woocommerce, rank-math-breadcrumbs, amp, editor-color-palette, widgets, menus
    theme_path: /www/cloneelementor_271/public/wp-content/themes/pixel-fish-child
    auto_update: Disabled wp-parent-theme name: Astra (astra)
    version: 3.9.2 (latest version: 3.9.4)
    author: Brainstorm Force
    author_website: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
    theme_path: /www/cloneelementor_271/public/wp-content/themes/astra
    auto_update: Disabled wp-mu-plugins (1) Kinsta Must-use Plugins: version: 3.0.0, author: Kinsta Team wp-plugins-active (14) Admin Menu Editor Pro: version: 2.18, author: Janis Elsts (latest version: 2.18.1), Auto-updates disabled
    Akismet Anti-Spam: version: 5.0, author: Automattic (latest version: 5.0.2), Auto-updates disabled
    Astra Pro: version: 3.9.2, author: Brainstorm Force (latest version: 3.9.4), Auto-updates disabled
    Classic Editor: version: 1.6.2, author: WordPress Contributors, Auto-updates disabled
    Elementor: version: 3.7.7, author: Elementor.com (latest version: 3.9.1), Auto-updates disabled
    Elementor Pro: version: 3.7.7, author: Elementor.com (latest version: 3.9.1), Auto-updates disabled
    Gravity Forms: version: 2.6.7, author: Gravity Forms (latest version: 2.6.8), Auto-updates disabled
    Gravity Forms Akismet Add-On: version: 1.0, author: Gravity Forms, Auto-updates disabled
    Imagify: version: 2.0, author: Imagify - Optimize Images & Convert WebP (latest version: 2.1), Auto-updates disabled
    iThemes Security Pro: version: 7.2.1, author: iThemes (latest version: 7.2.4), Auto-updates disabled
    OoohBoi Steroids for Elementor: version: 2.0.2, author: OoohBoi (latest version: 2.0.5), Auto-updates disabled
    Perfmatters: version: 1.9.9, author: forgemedia (latest version: 2.0.2), Auto-updates disabled
    Yoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast, Auto-updates disabled
    Yoast SEO: version: 19.7.1, author: Team Yoast (latest version: 19.12), Auto-updates disabled wp-plugins-inactive (9) 301 Redirects: version: 2.72, author: WebFactory Ltd, Auto-updates disabled
    Astra Widgets: version: 1.2.12, author: Brainstorm Force, Auto-updates disabled
    Disable New User Notifications: version: 2.0.0, author: Thomas Griffin, Auto-updates disabled
    Increase Maximum Upload File Size: version: 2.0.4, author: Imagify, Auto-updates disabled
    JetElements For Elementor: version: 2.5.7, author: Crocoblock, Auto-updates disabled
    SVG Support: version: 2.5.3, author: Benbodhi (latest version: 2.5.5), Auto-updates disabled
    Ultimate Addons for Elementor: version: 1.36.10, author: Brainstorm Force (latest version: 1.36.13), Auto-updates disabled
    User Switching: version: 1.7.0, author: John Blackbourn & contributors, Auto-updates disabled
    WP Rocket: version: 3.10.8, author: WP Media, Auto-updates disabled wp-media image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1690
    imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
    imagick_version: 3.7.0
    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: 122 MB
    imagick::RESOURCETYPE_DISK: 1073741824
    imagick::RESOURCETYPE_FILE: 768
    imagick::RESOURCETYPE_MAP: 512 MB
    imagick::RESOURCETYPE_MEMORY: 256 MB
    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, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, 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, JBG, JBIG, JNG, JNX, JPE, JPEG, JPG, JPS, 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, 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: 2.3.3
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: unknown wp-server server_architecture: Linux 5.4.0-1096-gcp x86_64
    httpd_software: nginx/1.19.10
    php_version: 8.0.25 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 10000
    time_limit: 300
    memory_limit: 512M
    max_input_time: 300
    upload_max_filesize: 128M
    php_post_max_size: 128M
    curl_version: 7.68.0 OpenSSL/1.1.1f
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true wp-database extension: mysqli
    server_version: 10.5.9-MariaDB-1:10.5.9+maria~focal
    client_version: mysqlnd 8.0.25
    max_allowed_packet: 33554432
    max_connections: 20 wp-constants WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /www/cloneelementor_271/public/wp-content
    WP_PLUGIN_DIR: /www/cloneelementor_271/public/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 512M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: false
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined wp-filesystem wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    Plugin Support Suwash

    (@suascat_wp)

    Thanks for providing your setup info. It seems most of your active plugins, including WordPress, require an update, and a few we’ve highlighted below that is worth looking at and needs an update.

    • Elementor: version: 3.7.7 (latest version: 3.9.1) Auto-updates disabled
    • Elementor Pro: version: 3.7.7(latest version: 3.9.1), Auto-updates disabled
    • Yoast SEO: version: 19.7.1 (latest version: 19.12)

    Could you please update those plugins and see if that help resolve the error? We ask because we need to rule out if there are any compatibility issues in your specific setup.

    We recommend creating regular backups of your site and database for your site’s health and safety. A backup is crucial before installing, updating, or removing plugins and provides you with a safety net if something were to go wrong. Learn more about the benefits of regular backups.

    Thread Starter Pixel Fish

    (@kevin-fouche)

    Updating WordPress/Plugins/Theme doesn’t help. Error still occurs.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘PHP8 upgrade causes critical error when cloning exisiting Elementor Pages’ is closed to new replies.