• Resolved Xavier Serrano

    (@xavierserranoa)


    PHP message: PHP Warning: foreach() argument must be of type array|object, string given in /wp-content/plugins/wp-cloudflare-page-cache/vendor/codeinwp/themeisle-sdk/src/Modules/Promotions.php on line 436
    PHP message: PHP Fatal error: Uncaught TypeError: arraymerge(): Argument #2 must be of type array, string given in /wp-content/plugins/wp-cloudflare-page-cache/vendor/codeinwp/themeisle-sdk/src/Modules/Promotions.php:476

    Getting this php warnign and fatal error on the plugin

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    I have passed it to the themeisle-sdk team. They will get back to you soon.

    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    Can you please share yoru site health info so that we can have a more detailed look at your server and setup?

    Thread Starter Xavier Serrano

    (@xavierserranoa)

    Sure here you go.

    ` wp-core
    
    version: 6.4.1<br>site_language: en_US<br>user_language: en_US<br>timezone: America/New_York<br>permalink: /%year%/%monthnum%/%day%/%postname%/<br>https_status: true<br>multisite: true<br>user_registration: false<br>blog_public: 1<br>default_comment_status: open<br>environment_type: production<br>site_count: 5<br>network_count: 1<br>user_count: 74<br>dotorg_communication: true wp-active-theme
    
    name: Blocksy Child (blocksy-child)<br>version: 1.0.0<br>author: Cornershop Creative<br>author_website: https://cornershopcreative.com<br>parent_theme: Blocksy (blocksy)<br>theme_features: core-block-patterns, widgets-block-editor, block-templates, automatic-feed-links, html5, editor-color-palette, responsive-embeds, title-tag, custom-logo, lifterlms-sidebars, boostify-header-footer, fl-theme-builder-headers, fl-theme-builder-footers, fl-theme-builder-parts, editor-styles, editor-style, editor-gradient-presets, post-thumbnails, menus, align-wide, customize-selective-refresh-widgets, header-footer-elementor, widgets<br>theme_path: /www/pecpams_866/public/wp-content/themes/blocksy-child<br>auto_update: Disabled wp-parent-theme
    
    name: Blocksy (blocksy)<br>version: 1.8.95 (latest version: 2.0.4)<br>author: CreativeThemes<br>author_website: https://creativethemes.com<br>theme_path: /www/pecpams_866/public/wp-content/themes/blocksy<br>auto_update: Disabled wp-themes-inactive (5)
    
    PA Outdoor Network: version: 1.0.0, author: Cornershop Creative, Auto-updates disabled<br>Phlox Pro: version: 5.7.5, author: averta, Auto-updates disabled<br>Twenty Twenty-Four: version: 1.0, author: the WordPress team, Auto-updates disabled<br>Twenty Twenty-One: version: 1.8, author: the WordPress team (latest version: 2.0), Auto-updates disabled<br>Twenty Twenty-Three: version: 1.1, author: the WordPress team (latest version: 1.3), Auto-updates disabled wp-mu-plugins (2)
    
    InfiniteWP - Client Loader: version: 1.0.1, author: Revmakx<br>Kinsta Must-use Plugins: version: 3.0.0, author: Kinsta Team wp-plugins-active (37)
    
    Advanced Custom Fields PRO: version: 6.2.4, author: WP Engine, Auto-updates disabled<br>Blocksy Companion (Premium): version: 1.8.9.7, author: CreativeThemes (latest version: 2.0.4), Auto-updates disabled<br>Category Order and Taxonomy Terms Order: version: 1.7.9, author: Nsp-Code, Auto-updates disabled<br>Classic Editor: version: 1.6.3, author: WordPress Contributors, Auto-updates disabled<br>Cookie Notice & Compliance for GDPR / CCPA: version: 2.4.13, author: Hu-manity.co, Auto-updates disabled<br>Cornershop Plugin Tracker: version: 1.0.32, author: Cornershop Creative, Auto-updates disabled<br>Custom Twitter Feeds: version: 2.2.1, author: Smash Balloon, Auto-updates disabled<br>Disable Comments RB: version: 1.0.22, author: rbPlugins, Auto-updates disabled<br>Elementor: version: 3.17.3, author: Elementor.com (latest version: 3.18.0), Auto-updates disabled<br>Elementor Pro: version: 3.17.1, author: Elementor.com (latest version: 3.18.0), Auto-updates disabled<br>ElementsKit Lite: version: 3.0.3, author: Wpmet, Auto-updates disabled<br>Essential Addons for Elementor: version: 5.9, author: WPDeveloper, Auto-updates disabled<br>Essential Addons for Elementor - Pro: version: 5.8.3, author: WPDeveloper, Auto-updates disabled<br>FacetWP: version: 4.2.7, author: FacetWP, LLC (latest version: 4.2.8), Auto-updates disabled<br>Google Analytics for WordPress by MonsterInsights: version: 8.21.0, author: MonsterInsights (latest version: 8.22.0), Auto-updates disabled<br>Gravity Forms: version: 2.7.17, author: Gravity Forms, Auto-updates enabled<br>Gravity Forms Constant Contact Add-On: version: 1.7, author: Gravity Forms, Auto-updates disabled<br>Imagify: version: 2.1.3, author: Imagify – Optimize Images & Convert WebP, Auto-updates disabled<br>InfiniteWP - Client: version: 1.12.4, author: Revmakx, Auto-updates disabled<br>Jetpack: version: 12.8.1, author: Automattic, Auto-updates disabled<br>Media Deduper Pro: version: 1.5.2, author: Cornershop Creative, Auto-updates disabled<br>MetaSlider: version: 3.50.0, author: MetaSlider, Auto-updates disabled<br>NS Cloner - Site Copier: version: 4.4, author: Never Settle, Auto-updates disabled<br>Post Types Order: version: 2.1.1, author: Nsp Code, Auto-updates disabled<br>Public Post Preview: version: 2.10.0, author: Dominik Schilling, Auto-updates disabled<br>Redirection: version: 5.3.10, author: John Godley, Auto-updates disabled<br>SearchWP: version: 4.3.9, author: SearchWP, Auto-updates disabled<br>Super Page Cache for Cloudflare: version: 4.7.5, author: Optimole, Auto-updates disabled<br>The Events Calendar: version: 6.2.8.1, author: The Events Calendar (latest version: 6.2.8.2), Auto-updates disabled<br>The Events Calendar Pro: version: 6.2.4, author: The Events Calendar, Auto-updates disabled<br>Wordfence Security: version: 7.11.0, author: Wordfence, Auto-updates disabled<br>WordPress Importer: version: 0.8.1, author: wordpressdotorg, Auto-updates disabled<br>WP-PageNavi: version: 2.94.1, author: Lester 'GaMerZ' Chan, Auto-updates disabled<br>WPCode Lite: version: 2.1.5, author: WPCode (latest version: 2.1.6), Auto-updates disabled<br>WP Mail SMTP: version: 3.10.0, author: WP Mail SMTP, Auto-updates disabled<br>Yoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast, Auto-updates disabled<br>Yoast SEO: version: 21.6, author: Team Yoast, Auto-updates disabled wp-plugins-inactive (16)
    
    Advanced Editor Tools: version: 5.9.2, author: Automattic, Auto-updates disabled<br>Autoptimize: version: 3.1.10, author: Frank Goossens (futtta), Auto-updates disabled<br>Bulk Page Creator: version: 1.1.4, author: Dagan Lev, Auto-updates disabled<br>Cloudflare: version: 4.12.2, author: Cloudflare, Inc., Auto-updates disabled<br>Delete Duplicate Posts: version: 4.9.1, author: cleverplugins.com (latest version: 4.9.2), Auto-updates disabled<br>Jetpack Boost: version: 2.2.0, author: Automattic - Jetpack Site Speed team, Auto-updates disabled<br>Master Slider Pro: version: 3.6.1, author: averta, Auto-updates disabled<br>PEC Custom Post Types: version: 1.1, author: Steve Swackhammer, Auto-updates disabled<br>PEC Custom Taxonomies: version: 1.1, author: Steve Swackhammer, Auto-updates disabled<br>PEC Query Overrides: version: 1.0, author: Steve Swackhammer, Auto-updates disabled<br>Phlox Core Elements: version: 2.15.0, author: averta (latest version: 2.15.2), Auto-updates disabled<br>Phlox Pro Tools: version: 1.7.5, author: averta, Auto-updates disabled<br>Post Type Switcher: version: 3.2.1, author: Triple J Software, Inc., Auto-updates disabled<br>Term Taxonomy Converter: version: 1.2, author: Dhanendran, Auto-updates disabled<br>WP All Export - ACF Export Add-On Pro: version: 1.0.3, author: Soflyy, Auto-updates disabled<br>WP All Export Pro: version: 1.8.0, author: Soflyy, Auto-updates disabled wp-media
    
    image_editor: WP_Image_Editor_Imagick<br>imagick_module_version: 1690<br>imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org<br>imagick_version: 3.7.0<br>file_uploads: 1<br>post_max_size: 256M<br>upload_max_filesize: 128M<br>max_effective_size: 128 MB<br>max_file_uploads: 20<br>imagick_limits:<br>imagick::RESOURCETYPE_AREA: 122 MB<br>imagick::RESOURCETYPE_DISK: 1073741824<br>imagick::RESOURCETYPE_FILE: 768<br>imagick::RESOURCETYPE_MAP: 512 MB<br>imagick::RESOURCETYPE_MEMORY: 256 MB<br>imagick::RESOURCETYPE_THREAD: 1<br>imagick::RESOURCETYPE_TIME: 1.844674407371E+19<br>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<br>gd_version: 2.3.3<br>gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM<br>ghostscript_version: unknown the-events-calendar events-calendar-pro wp-server
    
    server_architecture: Linux 5.4.0-1116-gcp x86_64<br>httpd_software: nginx/1.24.0<br>php_version: 8.1.18 64bit<br>php_sapi: fpm-fcgi<br>max_input_variables: 10000<br>time_limit: 300<br>memory_limit: 512M<br>max_input_time: 600<br>upload_max_filesize: 128M<br>php_post_max_size: 256M<br>curl_version: 7.68.0 OpenSSL/1.1.1f<br>suhosin: false<br>imagick_availability: true<br>pretty_permalinks: true<br>htaccess_extra_rules: true<br>current: 2023-12-05T18:14:53+00:00<br>utc-time: Tuesday, 05-Dec-23 18:14:53 UTC<br>server-time: 2023-12-05T13:14:51-05:00 wp-database
    
    extension: mysqli<br>server_version: 10.11.5-MariaDB-1:10.11.5+maria~ubu2004<br>client_version: mysqlnd 8.1.18<br>max_allowed_packet: 33554432<br>max_connections: 20 wp-constants
    
    WP_HOME: undefined<br>WP_SITEURL: undefined<br>WP_CONTENT_DIR: /www/pecpams_866/public/wp-content<br>WP_PLUGIN_DIR: /www/pecpams_866/public/wp-content/plugins<br>WP_MEMORY_LIMIT: 64M<br>WP_MAX_MEMORY_LIMIT: 512M<br>WP_DEBUG: false<br>WP_DEBUG_DISPLAY: false<br>WP_DEBUG_LOG: true<br>SCRIPT_DEBUG: false<br>WP_CACHE: false<br>CONCATENATE_SCRIPTS: undefined<br>COMPRESS_SCRIPTS: undefined<br>COMPRESS_CSS: undefined<br>WP_ENVIRONMENT_TYPE: production<br>WP_DEVELOPMENT_MODE: undefined<br>DB_CHARSET: utf8<br>DB_COLLATE: undefined wp-filesystem
    
    wordpress: writable<br>wp-content: writable<br>uploads: writable<br>plugins: writable<br>themes: writable<br>mu-plugins: writable jetpack
    
    site_id: 206126504<br>ssl_cert: No<br>time_diff: undefined<br>version_option: 12.8.1:1700059830<br>old_version: 12.7.1:1698239663<br>public: Public<br>master_user: #1 cornershop<br>is_offline_mode: off<br>is_offline_mode_constant: off<br>current_user: #1 cornershop<br>tokens_set: Blog User<br>blog_token: LEjd)bS5YqRzhws(XFmozT%8s0EjeR*q<br>user_token: Fa%)!2cd(XIN4fPX4NPC(Gsy)j%IPXv^<br>version: 12.8.1<br>jp_plugin_dir: /www/pecpams_866/public/wp-content/plugins/jetpack/<br>plan: free<br>protect_header: false<br>full_sync: {"started":"Thu, 01 Jan 1970 00:00:00 +0000","finished":"Thu, 01 Jan 1970 00:00:00 +0000","progress":[],"config":[]}<br>sync_size: 5005<br>sync_lag: 17 weeks, 17 hours, 27 minutes, 53 seconds<br>full_sync_size: undefined<br>full_sync_lag: 0 seconds<br>idc_urls: {"home":"https:\/\/pecpa.org","siteurl":"https:\/\/pecpa.org","WP_HOME":"","WP_SITEURL":""}<br>idc_error_option: false<br>idc_optin: false<br>cxn_tests: {"8":{"name":"test__connection_token_health","label":false,"short_description":"Invalid Jetpack connection tokens.","long_description":"
    
    A healthy connection ensures Jetpack essential services are provided to your WordPress site, such as Stats and Site Security.<\/p>
    
    Error<\/span><\/span> Invalid Jetpack connection tokens.<\/p>
    
    <strong>We recommend reconnecting Jetpack.<\/strong><\/p>","severity":"critical","action":"https:\/\/pecpa.org\/wp-admin\/admin.php?page=jetpack#\/reconnect","action_label":"Reconnect Jetpack now","show_in_site_health":true,"pass":false,"group":["default"],"type":"direct"},"12":{"name":"test__sync_health","label":"Jetpack has detected an error syncing your site.","short_description":"Jetpack has detected that data is not properly in sync which may be impacting some of your site\u2019s functionality. We recommend performing a fix to align Jetpack with your site data. If you still notice this error after running the fix process, please contact support for additional assistance.","long_description":"</strong>
    
    <strong>The information synced by Jetpack ensures that Jetpack Search, Related Posts and other features are aligned with your site\u2019s current content.<\/p></strong>
    
    <strong>Error<\/span><\/span> Jetpack has detected that data is not properly in sync which may be impacting some of your site\u2019s functionality. Click <a href="\"#\"">here<\/a> to start a fix<\/strong> to align Jetpack with your site data. If you still notice this error after running the fix process, please contact support for additional assistance.<\/p>","severity":"critical","action":"https:\/\/jetpack.com\/redirect\/?source=jetpack-contact-support&site=pecpa.org","action_label":"Contact Jetpack Support","show_in_site_health":true,"pass":false,"group":["default"],"type":"direct"}}</a></strong><strong><strong><a href="\"#\""> wp_mail_smtp version: 3.10.0<br>license_key_type: lite<br>debug: No debug notices found.<br>lite_install_date: Nov 2, 2021 @ 1:56pm `
    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    YThanks for sharing the data. I’ve passed it to the team checking this issue.

    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    Can you please try this build on your website to confirm whether the issue is resolved or not?

    Thread Starter Xavier Serrano

    (@xavierserranoa)

    seems like the issue is resolve im not seeing the error pop up anymore

    Plugin Contributor iSaumya

    (@isaumya)

    Thanks for reporting that the issue has been fixed.

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

The topic ‘PHP Fatal Error’ is closed to new replies.