tomaston
Forum Replies Created
-
Hey @mattkeys. We think we have identified the problem. In ‘production’ mode, the ACF “Custom Fields” menu is hidden from all users, administrators included. This appears to alter the
$hook_suffix
string that’s passed to theadmin_enqueue_scripts
hook.So, in the file
admin/class-ACFFA-Admin.php
, on lines 73, 139 and 174, where the hook string is being tested, the fact that ‘production’ mode is altering this is not taken into account. We have tested the following alteration to this check, which seems to do the job:$acf_menu_slug = sanitize_title( __( 'Custom Fields', 'acf' ) ); $acf_menu_slug_array = array( $acf_menu_slug . '_page_fontawesome-settings', 'admin_page_fontawesome-settings', ); if ( ! in_array( $hook, $acf_menu_slug_array ) ) { return; }
Forum: Plugins
In reply to: [Font Awesome] Removing all.css and fonts when using Pro + SVGThank you for coming back to me @mlwilkerson. We’ve identified the issue… we are using ACF: Font Awesome Field as well as this plugin, not realising that we do not need both. This is the reason why the css and font was being loaded into the page.
We know the problem, but we have now hit another blocker with that plugin…
Hi Ian,
Thanks for coming back to me. All sorted. I think we chatted via email…?
PS here’s the diagnostic info:
site_url(): https://www.xxxxxxxxxxxxxxx/wp
home_url(): https://www.xxxxxxxxxxxxxxx
Database Name: xxxxxxxxxxxxxxx
Table Prefix: xxxxxxxxxxxxxxx
WordPress: 5.4.1
Web Server: Apache/2.4.38 (Debian)
PHP: 7.3.19
MySQL: 5.5.5
ext/mysqli: yes
PHP Memory Limit: 128M
WP Memory Limit: 40M
Memory Usage: 5 MB
Blocked External HTTP Requests: None
WP Locale: en_US
Organize offloads by month/year: Enabled
WP_DEBUG: No
WP_DEBUG_LOG: No
WP_DEBUG_DISPLAY: No
SCRIPT_DEBUG: No
WP Max Upload Size: 128 MB
PHP Time Limit: 60
PHP Error Log: /dev/stderr
WP Cron: Enabled
fsockopen: Enabled
allow_url_fopen: Enabled
OpenSSL: OpenSSL 1.1.1d 10 Sep 2019
cURL: 7.64.0
Zlib Compression: Enabled
PHP GD: bundled (2.1.0 compatible)
Imagick: Enabled
Basic Auth: Disabled
Proxy: DisabledMedia Files: 813 (paths 813)
Offloaded Media Files: 813 (paths 813)
Not Offloaded Media Files: 0 (paths 0)
Note: Approximate values, paths *try* and discard duplicates.Number of Image Sizes: 13
Names and Dimensions of Image Sizes:
thumbnail (150×150)
medium (300×300)
large (1024×1024)
1536×1536 (1536×1536)
2048×2048 (2048×2048)
small-square (60×60)
medium-square (300×300)
large-square (600×600)
collage (569×380)
collage-with-quote (452×333)
card (600×340)
single-hero (900×600)WP_CONTENT_DIR: /var/www/html/web/app
WP_CONTENT_URL: https://www.xxxxxxxxxxxxxxx/app
UPLOADS: Not defined
WP_PLUGIN_DIR: /var/www/html/web/app/plugins
WP_PLUGIN_URL: https://www.xxxxxxxxxxxxxxx/app/pluginsAS3CF_PROVIDER: Not defined
AS3CF_BUCKET: Not defined
AS3CF_REGION: Not defined
AS3CF_SETTINGS: Defined
AS3CF_SETTINGS Keys: access-key-id, provider, secret-access-keyLocal URL:
https://www.xxxxxxxxxxxxxxx/app/uploads/2020/06/photo.jpg
Offload URL:
https://xxxxxxxxxxxxxxx.s3.eu?central?1.amazonaws.com/app/uploads/2020/06/18100724/photo.jpgProvider: Amazon Web Services
Use Server Roles: Off
Key File Path: N/A
Access Keys Set: Yes
Access Key ID Define: Not defined
Secret Access Key Define: Not definedBucket: xxxxxxxxxxxxxxx
Region: eu-central-1Copy Files to Bucket: On
Enable Path: On
Custom Path: app/uploads/
Use Year/Month: On
Object Versioning: OnRewrite Media URLs: On
Enable Custom Domain (CDN): On
Custom Domain (CDN): xxxxxxxxxxxxxxx.s3.eu-central-1.amazonaws.com
Force HTTPS: OnRemove Files From Server: On
Active Theme Name: xxxxxxxxxxxxxxx
Active Theme Version: 1.0
Active Theme Folder: xxxxxxxxxxxxxxxActive Plugins:
ACF Content Analysis for Yoast SEO (v2.3.0) by Thomas Kr?ftner, ViktorFroberg, marol87, pekz0r, angrycreative, Team Yoast
Advanced Custom Fields PRO (v5.8.9) by Elliot Condon
Classic Editor (v1.5) by WordPress Contributors
Duplicate Post (v3.2.4) by Enrico Battocchi
Instagram Feed Pro Developer (v5.5) by Smash Balloon
Safe SVG (v1.9.9) by Daryll Doyle
WP Offload Media Lite (v2.3.2) by Delicious Brains
Wordfence Security (v7.4.7) by Wordfence
Yoast SEO (v14.0.4) by Team YoastMust-use Plugins:
Bedrock Autoloader (v1.0.0) by Roots
Disallow Indexing (v1.0.0) by Roots
Register Theme Directory (v1.0.0) by Roots- This reply was modified 4 years, 5 months ago by tomaston.
I just tried switching off the plugin on the production website. It went from a TTFB time of 7.5s to 800ms! See these images:
Plugin activated
Plugin deactivatedCan anyone please help with this? Is anyone else experiencing the same problem?
Hi @wfgerald
This is the expanded view of the access in question:
https://drive.google.com/file/d/1A6hvY3qkmbCtVBV17HaaEu5TXuByzEa0/view?usp=sharing
The data in question that I think is triggering the blockage is a base64-encoded file.
Does this help?
Forum: Plugins
In reply to: [Abandoned Cart Lite for WooCommerce] Plugin broken – mysql_num_rows errorForum: Plugins
In reply to: [Abandoned Cart Lite for WooCommerce] Plugin broken – mysql_num_rows errorI’m afraid I can’t give you access – the site is local only at the moment.
I have just performed a new installation of WordPress 4.0 and added and activated WooCommerce 2.2.8 and WooCommerce Abandon Cart Lite Plugin 1.1. No other plugins activated; no products added; nothing else. I still receive the error
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /Users/tom.aston/Sites/cleanwp/public/wp-content/plugins/woocommerce-abandoned-cart/woocommerce-ac.php on line 612
Any ideas? Has anyone else had this issue?
Just wanted to confirm that I’m seeing this also.
WordPress version 3.4.1, ACF 3.2.7
Does anyone know when a fix for this will be available?
Thanks