• I created a staging site of a live WordPress website to test out PHP 8.0 on the site.

    The link to the staging is provided above.

    This site is using Quick Paypal Payments Version 5.7.25
    Site Health Info

    
    ### wp-core ###
    
    version: 6.0.3
    site_language: en_US
    user_language: en_US
    timezone: +00:00
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 0
    default_comment_status: open
    environment_type: staging
    user_count: 3
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /www/starsprepnet_400/public
    wordpress_size: 50.38 MB (52826854 bytes)
    uploads_path: /www/starsprepnet_400/public/wp-content/uploads
    uploads_size: 67.49 MB (70770916 bytes)
    themes_path: /www/starsprepnet_400/public/wp-content/themes
    themes_size: 67.73 MB (71023579 bytes)
    plugins_path: /www/starsprepnet_400/public/wp-content/plugins
    plugins_size: 28.29 MB (29665907 bytes)
    database_size: 15.11 MB (15843328 bytes)
    total_size: 229.01 MB (240130584 bytes)
    
    ### wp-active-theme ###
    
    name: Enfold (enfold)
    version: 5.2.1
    author: Kriesi
    author_website: https://kriesi.at
    parent_theme: none
    theme_features: core-block-patterns, block-templates, avia_exclude_bbPress, deactivate_tribe_events_calendar, avia_exclude_GFForms, avia_exclude_menu_exchange, avia_exclude_pojo_accessibility, avia_exclude_wp_accessibility, avia_exclude_relevanssi, avia_exclude_WooCommerce, avia_exclude_wpSEO, avia_exclude_wpml, avia_exclude_instagram_feed, avia_exclude_leaflet_map, avia_mega_menu, avia_improved_backend_style, avia_option_pages_toggles, avia_sidebar_manager, automatic-feed-links, nav_menus, menus, widgets, post-formats, avia_post_meta_compat, force-post-thumbnails-in-widget, post-thumbnails, widgets-block-editor, title-tag, editor-styles, editor-style, customize-selective-refresh-widgets, responsive-embeds, editor-color-palette, editor-font-sizes, avia_no_session_support
    theme_path: /www/starsprepnet_400/public/wp-content/themes/enfold
    auto_update: Enabled
    
    ### wp-themes-inactive (1) ###
    
    Twenty Twenty-Two: version: 1.2, author: the WordPress team, Auto-updates disabled
    
    ### wp-mu-plugins (2) ###
    
    Kinsta Must-use Plugins: version: 2.4.8, author: Kinsta Team
    ManageWP - Worker Loader: author: ManageWP, version: (undefined)
    
    ### wp-plugins-active (8) ###
    
    Computol SMTP: author: (undefined), version: 1.0.0, Auto-updates enabled
    Constant Contact Forms for WordPress: version: 1.13.0, author: Constant Contact, Auto-updates enabled
    Contact Form 7: version: 5.6.4, author: Takayuki Miyoshi, Auto-updates enabled
    Header Footer Code Manager: version: 1.1.29, author: 99robots, Auto-updates enabled
    ManageWP - Worker: version: 4.9.14, author: GoDaddy, Auto-updates enabled
    Popup Maker: version: 1.16.10, author: Popup Maker, Auto-updates enabled
    Quick Paypal Payments: version: 5.7.25, author: Fullworks, Auto-updates enabled
    WP Mail SMTP: version: 3.6.1, author: WPForms, Auto-updates enabled
    
    ### 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-1092-gcp x86_64
    httpd_software: nginx/1.21.3
    php_version: 8.0.21 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 10000
    time_limit: 300
    memory_limit: 256M
    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.12-MariaDB-1:10.5.12+maria~focal
    client_version: mysqlnd 8.0.21
    max_allowed_packet: 33554432
    max_connections: 10
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /www/starsprepnet_400/public/wp-content
    WP_PLUGIN_DIR: /www/starsprepnet_400/public/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 256M
    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: utf8
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    
    ### wp_mail_smtp ###
    
    version: 3.6.1
    license_key_type: lite
    debug: No debug notices found.
    
    

    There are no visible errors on the site or admin area.

    When navigating to pages where the Quick PayPal Payments plugin is used, we see the following errors in the server error.log

    2022/10/25 13:40:03 [error] 26652#26652: *173 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "inline_options" in /www/starsprepnet_400/public/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1163PHP message: PHP Warning: Undefined array key "couponapplied" in /www/starsprepnet_400/public/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1248PHP message: PHP Warning: Undefined array key "couponget" in /www/starsprepnet_400/public/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1258PHP message: PHP Warning: Undefined array key "firstname" in /www/starsprepnet_400/public/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1341PHP message: PHP Warning: Undefined array key "firstname" in /www/starsprepnet_400/public/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1348PHP message: PHP Warning: Undefined array key "lastname" in /www/starsprepnet_400/public/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1341PHP message: PHP Warning: Undefined array key "lastname" in /www/starsprepnet_400/public/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1348PHP message: PHP Warning: Undefined array key "email" in /www/starsprepnet_400/public/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1341PHP message: PHP Warning: Undefined array key "email" in /www/starsprepnet_400/public/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1348PHP message: PHP Warning: Undefined array key "address1" in /www/starsprepnet_400/public/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1341PHP message: PHP Warning: Undefined array key "address1" in /www/starsprepnet_400/public/wp-content/plugins/quick-paypal-payments/legacy/quick-paypal-payments.php on line 1348PHP message: PHP Warning: Undef

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Alan Fuller

    (@alanfuller)

    Hi,

    Sorry you are experiencing this however these are notices and warnings not errors.

    A production site should be set to not display warnings and notices.

    As you are seeing these ONLY in the log they are a non issue.

    Notices and Warnings are to help developers clean up code issues e.g. the Notice might be that a function is deprecated in a future release.

    Or a Warning may be that a variable has not been set before being used. As these are.

    These uninitialised variables are simply because they have not been set ( e.g.saved on the settings page )

    We have been ‘cleaning up’ the code and these will disappear over time, but they do not impact functionality. ( and not related to PHP 8.0 , these appears at earlier versions too)

    Please understand that even if warnings do not display on the website, they are logged, and on a busy website these PHP warning messages can cause log files to grow very rapidly.

    Plugin Author Alan Fuller

    (@alanfuller)

    Abigailm, thank you for your input on this.

    Normally people add to a a topic if they have something useful to add to the OP however in this case I think your input creates an unfounded concern for the OP.

    Personally I have never had the situation where error logs have been an issue on a well configured host. Most hosts have log rotation so it is a non issue.

    Additionally it is very simple system configuration to NOT log warnings and Errors and any extremely busy system, a competent system admin would configure the production system not to include Warnings – Notices – Deprecation notices. Indeed WordPress itself produces Deprecation notices on latest version of PHP – so even solved in this plugin your log issue does not away.

    Of course, the free version here is an Open Source project and you are welcome to contribute fixes to the code.

    • This reply was modified 2 years, 2 months ago by Alan Fuller.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP 8.0 Compatibility’ is closed to new replies.