Xavier Serrano
Forum Replies Created
-
hey just got around to trying that one version of the plugin and that indeed worked and resolved the issue.
Forum: Plugins
In reply to: [Super Page Cache for Cloudflare] PHP Fatal Errorseems like the issue is resolve im not seeing the error pop up anymore
Forum: Plugins
In reply to: [Super Page Cache for Cloudflare] PHP Fatal ErrorSure 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 `
looks like the events-ticket plugin also not being updated was causing this issue. once we updated we were able to update to 6.2.8.1 with no fatal error showing up
Forum: Plugins
In reply to: [GiveWP - Donation Plugin and Fundraising Platform] Fatal error id null givennot really we keep getting reports of the error happening from our hosts error loggin system. I tried going to the forms on the front end to see if I could trigger it but couldn’t replicate it. seemed to me the error pointed to it happening on templating so I assume it would be on the front end.
Forum: Themes and Templates
In reply to: [Blocksy] Blog archive customizer settings not stickingwhere are you seeing the custom template. because if so ill gladly have it not use the custom template
Forum: Plugins
In reply to: [Meta pixel for WordPress] Uncaught TypeError: strlen()we have the same issue I believe is becuase of this line
public static function normalize($field, $data) { if ($data == null || strlen($data) == 0) {
this file wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/UserData.php on line 914 is passing as the $data value the valueList $val array. which causes the line above to fail with a fatal error
private function normalizeHashDedup($fieldName, $valueList){ if(empty($valueList) || !isset($fieldName)) { return null; } $deduped = array(); foreach($valueList as $val){ $hashedVal = Util::hash(Normalizer::normalize($fieldName, $val)); $deduped[$hashedVal] = true; } return array_keys($deduped); }
I beleive the solution is to change the line on the file wp-content/plugins/official-facebook-pixel/vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php to this below since its the $field variable that passes a string that being said if the point is to check for things not to be empty im not sure why you guys arent just using empty($field) and empty($data) since those will return true if the string or array are empty or if null is passed with either
public static function normalize($field, $data) { if ($data == null || strlen($field) == 0) {
@kevinb it is now throwing this
Warning: Use of undefined constant PRESSPERMIT_READ_PUBLIC_CAP - assumed 'PRESSPERMIT_READ_PUBLIC_CAP' (this will throw an Error in a future version of PHP) in /code/wp-content/plugins/press-permit-core/classes/PublishPress/Permissions/Roles.php on line 21 Fatal error: Uncaught Error: Call to a member function filteringEnabled() on null in /code/wp-content/plugins/press-permit-core/classes/PublishPress/Permissions.php:427 Stack trace: #0 /code/wp-content/plugins/press-permit-core/classes/PublishPress/PermissionsHooks.php(425): PublishPress\Permissions->filteringEnabled() #1 /code/wp-content/plugins/press-permit-core/classes/PublishPress/PermissionsHooks.php(339): PublishPress\PermissionsHooks->loadContentFilters() #2 /code/wp-content/plugins/press-permit-core/classes/PublishPress/PermissionsHooks.php(281): PublishPress\PermissionsHooks->loadInitFilters() #3 /code/wp-content/plugins/press-permit-core/classes/PublishPress/PermissionsHooks.php(157): PublishPress\PermissionsHooks->actInitUser() #4 /code/wp-content/plugins/press-permit-core/classes/PublishPress/PermissionsHooks.php(112): PublishPress\PermissionsHooks->actSetCurrentUser() #5 /code/wp-content/plugins/press-permit-core/classes/PublishPress/PermissionsHooks.php(32): PublishPress\PermissionsHooks->loadFilters() #6 /c in /code/wp-content/plugins/press-permit-core/classes/PublishPress/Permissions.php on line 427
you should be able to replicate this issue by using this
/** * Modify custom permission group user capabilities */ function add_custom_group_caps() { require_once(PRESSPERMIT_CLASSPATH . '/API.php'); require_once(PRESSPERMIT_ABSPATH . '/library/api-legacy.php'); // Allow anyone assigned to a custom group the cap to upload files $groups = pp_get_groups( 'pp_group', array( 'cols' => 'id', 'skip_meta_types' => array( 'wp_role' ), ) ); foreach ( $groups as $group ) { $custom_group_users = pp_get_group_members( $group->id, 'pp_group', 'id' ); foreach ( $custom_group_users as $user_id ) { $user = new \WP_User( $user_id ); $user->add_cap( 'upload_files' ); $user->add_cap( 'list_others_unattached_files' ); $user->add_cap( 'pp_list_all_files' ); } } } add_action( 'admin_init', __NAMESPACE__ . '\add_custom_group_caps' );
then go to the customizer and you’ll see the error.
version is 3.7.8
@kevinb the issue still appears as such
Fatal error: Uncaught Error: Class 'PublishPress\Permissions\API' not found in /code/wp-content/plugins/press-permit-core/library/api-legacy.php:95 Stack trace: #0 /code/wp-content/themes/crate/inc/filters.php(124): pp_get_groups('pp_group', Array) #1 /code/wp-includes/class-wp-hook.php(307): CShop\Crate\add_custom_group_caps('') #2 /code/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #3 /code/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #4 /code/wp-admin/admin.php(175): do_action('admin_init') #5 /code/wp-admin/customize.php(13): require_once('/code/wp-admin/...') #6 {main} thrown in /code/wp-content/plugins/press-permit-core/library/api-legacy.php on line 95
keep in mind this issue happens when trying to access the customizer in wordpress admin. so something in your code is causing the plugin to not load correctly when on the customizer. I dont think its the code we are using.
@kevinb yes the issue does persist although a bit different
Fatal error: Uncaught Error: Class 'PublishPress\Permissions\API' not found in
we are using namespaces is that maybe why?
@kevinb anymore info as to what else could be happening?
@kevinb its performed within the ‘admin_init’ hook
adding a new image seems I was too hopeful about you being able to see that one. https://imgur.com/a/9XvhJwp
@ninjateamwp yes Gutenberg through the featured image functionality we are not seeing the folders. no sidebar or dropdown just the default wp modal/lightbox