Styles & Scripts Not loading on plugin settings page
-
Greetings,
I’m having the following problem, the scripts & styles won’t load on the plugin settings page, the rest of the site is functioning really well. Also getting a bunch of errors in my console log. Attaching a screenshot of the behaviour.
-
Hi @zkingdesign for us to check on this further, please send us a copy of your system check report by following this guide.
# Matomo * Matomo Plugin Version: 4.14.1 * Config exists and is writable.: Yes ("$abs_path/wp-content/uploads/matomo/config/config.ini.php" ) * JS Tracker exists and is writable.: Yes ("$abs_path/wp-content/uploads/matomo/matomo.js" ) * Plugin directories: Yes ([{"pluginsPathAbsolute":"$abs_path\/wp-content\/plugins\/matomo\/plugins","webrootDirRelativeToMatomo":"..\/"}]) * Tmp directory writable: Yes ($abs_path/wp-content/cache/matomo) * Matomo System Check: Failed to run Matomo system check. (The ui asset with 'href' = $abs_path/wp-content/plugins/matomo/app/node_modules/jquery-ui-dist/jquery-ui.min.css is not readable) * Matomo Blog idSite: 1 * Matomo Install Version: 4.14.1 (Install date: 2023-04-16 05:00:04) * Upgrades outstanding: No * Upgrade in progress: No ## Endpoints * Matomo JavaScript Tracker URL: ($site_url/wp-content/uploads/matomo/matomo.js) * Matomo JavaScript Tracker - WP Rest API: ($site_url/wp-json/matomo/v1/hit/) * Matomo HTTP Tracking API: ($site_url/wp-content/plugins/matomo/app/matomo.php) * Matomo HTTP Tracking API - WP Rest API: ($site_url/wp-json/matomo/v1/hit/) ## Crons * Server time: 2023-04-19 05:13:51 * Blog time: 2023-04-19 05:13:51 (Below dates are shown in blog timezone) * Sync users & sites: Next run: 2023-04-19 14:46:20 (9 hours 32 min) ( Last started: 2023-04-18 14:47:03 (-14 hours 26 min). Last ended: 2023-04-18 14:47:03 (-14 hours 26 min). Interval: daily) * Archive: Next run: 2023-04-19 05:46:20 (32 min 29s) ( Last started: 2023-04-19 04:46:59 (-26 min 52s). Last ended: 2023-04-19 04:47:14 (-26 min 37s). Interval: hourly) * Update GeoIP DB: Next run: 2023-05-16 14:46:20 (27 days 9 hours) ( Last started: 2023-04-16 14:46:36 (-2 days 14 hours). Last ended: 2023-04-16 14:46:37 (-2 days 14 hours). Interval: matomo_monthly) ## Matomo Settings * Track mode: default * Track codeposition: footer * Track api endpoint: default * Track js endpoint: default * Version history: 4.14.1 * Core version: 4.14.1 * Last tracking settings update: 1681655212 * Last settings update: 1681655229 * Show get started page: 0 ## Logs * None: # WordPress * Home URL: $site_url * Site URL: $site_url * WordPress Version: 6.2 * Number of blogs: 1 * Multisite Enabled: No * Network Enabled: No * WP_DEBUG: No * WP_DEBUG_DISPLAY: Yes * WP_DEBUG_LOG: No * DISABLE_WP_CRON: - * FORCE_SSL_ADMIN: Yes * WP_CACHE: Yes * CONCATENATE_SCRIPTS: - * COMPRESS_SCRIPTS: - * COMPRESS_CSS: - * ENFORCE_GZIP: - * WP_LOCAL_DEV: - * WP_CONTENT_URL: $site_url/wp-content * WP_CONTENT_DIR: $abs_path/wp-content * UPLOADS: - * BLOGUPLOADDIR: - * DIEONDBERROR: - * WPLANG: - * ALTERNATE_WP_CRON: - * WP_CRON_LOCK_TIMEOUT: 60 * WP_DISABLE_FATAL_ERROR_HANDLER: - * MATOMO_SUPPORT_ASYNC_ARCHIVING: - * MATOMO_TRIGGER_BROWSER_ARCHIVING: - * MATOMO_ENABLE_TAG_MANAGER: - * MATOMO_SUPPRESS_DB_ERRORS: - * MATOMO_ENABLE_AUTO_UPGRADE: - * MATOMO_DEBUG: - * MATOMO_SAFE_MODE: - * MATOMO_GLOBAL_UPLOAD_DIR: - * MATOMO_LOGIN_REDIRECT: - * Permalink Structure: /%postname%/ * Possibly uses symlink: No * Upload base url: $site_url/wp-content/uploads * Upload base dir: $abs_path/wp-content/uploads * Upload url: $site_url/wp-content/uploads/2023/04 * Custom upload_path: * Custom upload_url_path: * Compatible content directory: Yes # WordPress Plugins ## MU Plugins * WP Migrate Lite Compatibility: 1.3 ## Plugins * Akismet Anti-Spam: 5.1 * Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: 6.15.7 * Contact Form 7: 5.7.5.1 * Debloat: 1.2.1 * DPD RO Shipping / Payment: 3.2.10 * Elementor: 3.12.1 * Elementor Header & Footer Builder: 1.6.13 * Hestia Nginx Cache: 2.2.1 * Jetpack: 12.0 * Make Column Clickable Elementor: 1.4.0 * Matomo Analytics - Ethical Stats. Powerful Insights.: 4.14.1 * MC4WP: Mailchimp for WordPress: 4.9.3 * Media Cleaner: 6.6.3 * NETOPIA Payments Payment Gateway: 1.3 * Perfect Images (Media Replace • Generate Thumbnails • Image Sizes • Optimize • HighDPI): 6.4.2 * Pinterest for WooCommerce: 1.2.18 * Post Duplicator: 2.28 * Regenerate Thumbnails: 3.1.5 * SamedayCourier Shipping: 1.5.10 * Simple COD Fee for WooCommerce: 1.4 * Slider Revolution: 6.6.11 * SVG Support: 2.5.5 * TikTok: 1.0.16 * Variation Swatches for WooCommerce: 2.0.20 * WebP Express: 0.25.6 (Network enabled) * WooCommerce: 7.6.0 * WooCommerce Shipping & Tax: 2.2.4 * WP 2FA - Two-factor authentication for WordPress: 2.4.1 (Network enabled) * WP All Import - WooCommerce Import Add-On Pro: 3.3.4 * WP All Import Pro: 4.7.8 * WPC Smart Compare for WooCommerce: 5.4.2 * WPC Smart Quick View for WooCommerce: 3.4.1 * WPC Smart Wishlist for WooCommerce: 4.6.4 * WP Migrate Lite: 2.6.4 (Network enabled) * WP Super Cache: 1.9.4 * Yoast SEO: 20.5 * Active Plugins: 31 (coming-soon contact-form-7 debloat dpd elementor header-footer-elementor jetpack mailchimp-for-wp make-column-clickable-elementor matomo media-cleaner netopia-payments-payment-gateway post-duplicator regenerate-thumbnails revslider samedaycourier-shipping simple-cod-fee-for-woocommerce svg-support webp-express woo-smart-quick-view woo-smart-wishlist woo-variation-swatches woocommerce-services woocommerce wordpress-seo wp-2fa wp-all-import-pro wp-migrate-db wp-retina-2x wp-super-cache wpai-woocommerce-add-on) * Theme: shopio (shopio-child) # Server * Server Info: nginx/1.23.4 * PHP OS: Linux * PHP Version: 8.1.17 * PHP SAPI: fpm-fcgi * PHP Binary Name: /usr/sbin/php-fpm8.1 * PHP Maxmind DB extension: Not loaded * PHP Error Reporting: After bootstrap: 4437 * PHP Found Binary: /usr/bin/php -q * Timezone: UTC * WP timezone: +00:00 * Locale: ro_RO * User Locale: en_US * Memory Limit: 256M (At least 128MB recommended. Depending on your traffic 256MB or more may be needed.) * WP Memory Limit: 40M * WP Max Memory Limit: 256M * Timezone version: 0.system * Time: 1681881231 * Max Execution Time: 60 * Max Post Size: 100M * Max Upload Size: 104857600 * Max Input Vars: 1000 * Disabled PHP functions: No * zlib.output_compression is off: Yes * Curl Version: 7.81.0, OpenSSL/3.0.2 * Suhosin installed: No # PHP cli * PHP cli Version: 8.1.17 * MySQLi support: ok # Database * MySQL Version: 10.11.2 * Mysqli Connect: Yes * Force MySQL over Mysqli: No * DB Prefix: tyb2023_ * DB CHARSET: utf8mb4 * DB COLLATE: * SHOW ERRORS: No * SUPPRESS ERRORS: No * Uses Socket: No * Uses IPv6: No * Matomo tables found: 59 * DB tables exist: Yes * Matomo users found: 2 * Matomo sites found: 1 * Required permissions: OK # Browser * Browser: (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36) * Language: en-gb,en
I saw in another thread with an user having the same issue that you recommended increasing php memory limit. Also did that and same issue, here’s the diagnostics
# Matomo * Matomo Plugin Version: 4.14.1 * Config exists and is writable.: Yes ("$abs_path/wp-content/uploads/matomo/config/config.ini.php" ) * JS Tracker exists and is writable.: Yes ("$abs_path/wp-content/uploads/matomo/matomo.js" ) * Plugin directories: Yes ([{"pluginsPathAbsolute":"$abs_path\/wp-content\/plugins\/matomo\/plugins","webrootDirRelativeToMatomo":"..\/"}]) * Tmp directory writable: Yes ($abs_path/wp-content/cache/matomo) * Matomo System Check: Failed to run Matomo system check. (The ui asset with 'href' = $abs_path/wp-content/plugins/matomo/app/node_modules/jquery-ui-dist/jquery-ui.min.css is not readable) * Matomo Blog idSite: 1 * Matomo Install Version: 4.14.1 (Install date: 2023-04-16 05:00:04) * Upgrades outstanding: No * Upgrade in progress: No ## Endpoints * Matomo JavaScript Tracker URL: ($site_url/wp-content/uploads/matomo/matomo.js) * Matomo JavaScript Tracker - WP Rest API: ($site_url/wp-json/matomo/v1/hit/) * Matomo HTTP Tracking API: ($site_url/wp-content/plugins/matomo/app/matomo.php) * Matomo HTTP Tracking API - WP Rest API: ($site_url/wp-json/matomo/v1/hit/) ## Crons * Server time: 2023-04-19 05:23:59 * Blog time: 2023-04-19 05:23:59 (Below dates are shown in blog timezone) * Sync users & sites: Next run: 2023-04-19 14:46:20 (9 hours 22 min) ( Last started: 2023-04-18 14:47:03 (-14 hours 36 min). Last ended: 2023-04-18 14:47:03 (-14 hours 36 min). Interval: daily) * Archive: Next run: 2023-04-19 05:46:20 (22 min 21s) ( Last started: 2023-04-19 04:46:59 (-37 min 0s). Last ended: 2023-04-19 04:47:14 (-36 min 45s). Interval: hourly) * Update GeoIP DB: Next run: 2023-05-16 14:46:20 (27 days 9 hours) ( Last started: 2023-04-16 14:46:36 (-2 days 14 hours). Last ended: 2023-04-16 14:46:37 (-2 days 14 hours). Interval: matomo_monthly) ## Matomo Settings * Track mode: default * Track codeposition: footer * Track api endpoint: default * Track js endpoint: default * Version history: 4.14.1 * Core version: 4.14.1 * Last tracking settings update: 1681655212 * Last settings update: 1681655229 * Show get started page: 0 ## Logs * None: # WordPress * Home URL: $site_url * Site URL: $site_url * WordPress Version: 6.2 * Number of blogs: 1 * Multisite Enabled: No * Network Enabled: No * WP_DEBUG: No * WP_DEBUG_DISPLAY: Yes * WP_DEBUG_LOG: No * DISABLE_WP_CRON: - * FORCE_SSL_ADMIN: Yes * WP_CACHE: Yes * CONCATENATE_SCRIPTS: - * COMPRESS_SCRIPTS: - * COMPRESS_CSS: - * ENFORCE_GZIP: - * WP_LOCAL_DEV: - * WP_CONTENT_URL: $site_url/wp-content * WP_CONTENT_DIR: $abs_path/wp-content * UPLOADS: - * BLOGUPLOADDIR: - * DIEONDBERROR: - * WPLANG: - * ALTERNATE_WP_CRON: - * WP_CRON_LOCK_TIMEOUT: 60 * WP_DISABLE_FATAL_ERROR_HANDLER: - * MATOMO_SUPPORT_ASYNC_ARCHIVING: - * MATOMO_TRIGGER_BROWSER_ARCHIVING: - * MATOMO_ENABLE_TAG_MANAGER: - * MATOMO_SUPPRESS_DB_ERRORS: - * MATOMO_ENABLE_AUTO_UPGRADE: - * MATOMO_DEBUG: - * MATOMO_SAFE_MODE: - * MATOMO_GLOBAL_UPLOAD_DIR: - * MATOMO_LOGIN_REDIRECT: - * Permalink Structure: /%postname%/ * Possibly uses symlink: No * Upload base url: $site_url/wp-content/uploads * Upload base dir: $abs_path/wp-content/uploads * Upload url: $site_url/wp-content/uploads/2023/04 * Custom upload_path: * Custom upload_url_path: * Compatible content directory: Yes # WordPress Plugins ## MU Plugins * WP Migrate Lite Compatibility: 1.3 ## Plugins * Akismet Anti-Spam: 5.1 * Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: 6.15.7 * Contact Form 7: 5.7.5.1 * Debloat: 1.2.1 * DPD RO Shipping / Payment: 3.2.10 * Elementor: 3.12.1 * Elementor Header & Footer Builder: 1.6.13 * Hestia Nginx Cache: 2.2.1 * Jetpack: 12.0 * Make Column Clickable Elementor: 1.4.0 * Matomo Analytics - Ethical Stats. Powerful Insights.: 4.14.1 * MC4WP: Mailchimp for WordPress: 4.9.3 * Media Cleaner: 6.6.3 * NETOPIA Payments Payment Gateway: 1.3 * Perfect Images (Media Replace • Generate Thumbnails • Image Sizes • Optimize • HighDPI): 6.4.2 * Pinterest for WooCommerce: 1.2.18 * Post Duplicator: 2.28 * Regenerate Thumbnails: 3.1.5 * SamedayCourier Shipping: 1.5.10 * Simple COD Fee for WooCommerce: 1.4 * Slider Revolution: 6.6.11 * SVG Support: 2.5.5 * TikTok: 1.0.16 * Variation Swatches for WooCommerce: 2.0.20 * WebP Express: 0.25.6 (Network enabled) * WooCommerce: 7.6.0 * WooCommerce Shipping & Tax: 2.2.4 * WP 2FA - Two-factor authentication for WordPress: 2.4.1 (Network enabled) * WP All Import - WooCommerce Import Add-On Pro: 3.3.4 * WP All Import Pro: 4.7.8 * WPC Smart Compare for WooCommerce: 5.4.2 * WPC Smart Quick View for WooCommerce: 3.4.1 * WPC Smart Wishlist for WooCommerce: 4.6.4 * WP Migrate Lite: 2.6.4 (Network enabled) * WP Super Cache: 1.9.4 * Yoast SEO: 20.5 * Active Plugins: 31 (coming-soon contact-form-7 debloat dpd elementor header-footer-elementor jetpack mailchimp-for-wp make-column-clickable-elementor matomo media-cleaner netopia-payments-payment-gateway post-duplicator regenerate-thumbnails revslider samedaycourier-shipping simple-cod-fee-for-woocommerce svg-support webp-express woo-smart-quick-view woo-smart-wishlist woo-variation-swatches woocommerce-services woocommerce wordpress-seo wp-2fa wp-all-import-pro wp-migrate-db wp-retina-2x wp-super-cache wpai-woocommerce-add-on) * Theme: shopio (shopio-child) # Server * Server Info: nginx/1.23.4 * PHP OS: Linux * PHP Version: 8.1.17 * PHP SAPI: fpm-fcgi * PHP Binary Name: /usr/sbin/php-fpm8.1 * PHP Maxmind DB extension: Not loaded * PHP Error Reporting: After bootstrap: 4437 * PHP Found Binary: /usr/bin/php -q * Timezone: UTC * WP timezone: +00:00 * Locale: ro_RO * User Locale: en_US * Memory Limit: 512M (At least 128MB recommended. Depending on your traffic 256MB or more may be needed.) * WP Memory Limit: 40M * WP Max Memory Limit: 512M * Timezone version: 0.system * Time: 1681881839 * Max Execution Time: 60 * Max Post Size: 100M * Max Upload Size: 104857600 * Max Input Vars: 1000 * Disabled PHP functions: No * zlib.output_compression is off: Yes * Curl Version: 7.81.0, OpenSSL/3.0.2 * Suhosin installed: No # PHP cli * PHP cli Version: 8.1.17 * MySQLi support: ok # Database * MySQL Version: 10.11.2 * Mysqli Connect: Yes * Force MySQL over Mysqli: No * DB Prefix: tyb2023_ * DB CHARSET: utf8mb4 * DB COLLATE: * SHOW ERRORS: No * SUPPRESS ERRORS: No * Uses Socket: No * Uses IPv6: No * Matomo tables found: 59 * DB tables exist: Yes * Matomo users found: 2 * Matomo sites found: 1 * Required permissions: OK # Browser * Browser: (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36) * Language: en-gb,en
To improve performance, Matomo tries to automatically combine all CSS stylesheets and Javascript files into two large files, instead of having to download 20 individual files. However, on some webhosts, PHP scripts have a max execution time and if the server is overloaded, the script that merges all files together can take more than the time limit.
Can you please ask your webhost to increase themax_execution_time
in your php.ini file, for example to 30 seconds or higher?If you can’t change this setting, you can alternatively disable the feature to combine together CSS and JS files. To disable this feature, edit your config/config.ini.php and add the following:
[Development]
disable_merged_assets = 1Hi @zkingdesign . Have you had a chance to look at my previous comment or maybe any question around this?
Hi @zkingdesign As we didn’t receive a response, in the mean time, we’ll update the status of this post to resolved. Not to worry though! If you’re still having issues, feel free to leave a comment and we’d be happy to assist.
- The topic ‘Styles & Scripts Not loading on plugin settings page’ is closed to new replies.