Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter wextercz

    (@wextercz)

    ` wp-core
    
    version: 6.4.3
    site_language: cs_CZ
    user_language: cs_CZ
    timezone: +02:00
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: undefined
    environment_type: production
    user_count: 1734
    dotorg_communication: true wp-paths-sizes wordpress_path: /data/web/virtuals/299085/virtual/www
    wordpress_size: 1,19 GB (1277110358 bytes)
    uploads_path: /data/web/virtuals/299085/virtual/www/wp-content/uploads
    uploads_size: 3,52 GB (3778647724 bytes)
    themes_path: /data/web/virtuals/299085/virtual/www/wp-content/themes
    themes_size: 8,25 MB (8647769 bytes)
    plugins_path: /data/web/virtuals/299085/virtual/www/wp-content/plugins
    plugins_size: 265,27 MB (278153557 bytes)
    database_size: 1,23 GB (1321439148 bytes)
    total_size: 6,21 GB (6663998556 bytes) wp-dropins (1) advanced-cache.php: true wp-active-theme name: Divi (Divi)
    version: 4.23.4 (latest version: 4.24)
    author: Elegant Themes
    author_website: http://www.elegantthemes.com
    parent_theme: none
    theme_features: core-block-patterns, block-templates, widgets-block-editor, post-thumbnails, custom-background, automatic-feed-links, menus, title-tag, post-formats, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, customize-selective-refresh-widgets, wp-block-styles, editor-style, widgets
    theme_path: /data/web/virtuals/299085/virtual/www/wp-content/themes/Divi
    auto_update: Deaktivováno wp-themes-inactive (3) XTRA: version: 4.5.5, author: Codevz, Automatické aktualizace zakázány
    Twenty Twenty-Four: version: 1.0, author: Vývojáři WordPressu (a překladatelé), Automatické aktualizace zakázány
    Twenty Twenty-Three: version: 1.3, author: Vývojáři WordPressu (a překladatelé), Automatické aktualizace zakázány wp-plugins-active (40) Auto Coupons for WooCommerce: version: 2.4.1, author: RLDD, Automatické aktualizace zakázány
    Bulky - Bulk Edit Products for WooCommerce: version: 1.1.7, author: VillaTheme, Automatické aktualizace zakázány
    Classic Editor: version: 1.6.3, author: WordPress Contributors, Automatické aktualizace povoleny
    Cookies and Content Security Policy: version: 2.22, author: Jonk @ Follow me Darling, Automatické aktualizace zakázány
    Disable Cart Fragments: version: 2.3, author: Optimocha, Automatické aktualizace zakázány
    Facebook for WooCommerce: version: 3.1.9, author: Facebook, Automatické aktualizace povoleny
    File Upload Types: version: 1.3.0, author: WPForms, Automatické aktualizace zakázány
    Flexible Shipping: version: 4.24.10, author: Octolize, Automatické aktualizace zakázány
    Flexible Shipping PRO: version: 2.17.3, author: Octolize, Automatické aktualizace zakázány
    Fluent Forms: version: 5.1.9, author: Contact Form - WPManageNinja LLC, Automatické aktualizace zakázány
    Forminator: version: 1.29.0, author: WPMU DEV, Automatické aktualizace zakázány
    Loco Translate: version: 2.6.6, author: Tim Whitlock, Automatické aktualizace zakázány
    MailPoet: version: 4.42.1, author: MailPoet, Automatické aktualizace povoleny
    MailPoet Premium: version: 4.42.0, author: MailPoet, Automatické aktualizace zakázány
    Menu Cart Module Divi: version: 1.1, author: learnhowwp.com, Automatické aktualizace zakázány
    Order Tip for WooCommerce: version: 1.3.1, author: Adrian Emil Tudorache, Automatické aktualizace zakázány
    Payment Methods by Product & Country for WooCommerce: version: 1.7.8, author: WPFactory, Automatické aktualizace povoleny
    Popups for Divi: version: 3.0.5, author: divimode.com, Automatické aktualizace zakázány
    Product Table for WooCommerce by CodeAstrology (WooproductTable): version: 3.4.7, author: CodeAstrology Team, Automatické aktualizace zakázány
    Rank Math SEO: version: 1.0.212, author: Rank Math, Automatické aktualizace zakázány
    Redirection: version: 5.4.2, author: John Godley, Automatické aktualizace zakázány
    Shortcodes to show or hide content: version: 2.5, author: Dave Clements, Automatické aktualizace povoleny
    Smart Coupons for WooCommerce Pro: version: 2.0.8, author: WebToffee, Automatické aktualizace zakázány
    Toret GP webpay: version: 1.5.5, author: toret.cz (latest version: 1.6.4), Automatické aktualizace zakázány
    Toret Phone: version: 1.0.3, author: toret.cz (latest version: 1.0.7), Automatické aktualizace zakázány
    VarkTech Pricing Deals for WooCommerce: version: 2.0.3.2, author: Vark, Automatické aktualizace zakázány
    VarkTech Pricing Deals PRO for WooCommerce: version: 2.0.3, author: VarkTech, Automatické aktualizace zakázány
    WC Minimum Order Amount: version: 1.1, author: Hannah Swain, Automatické aktualizace zakázány
    WooCommerce: version: 8.5.2, author: Automattic, Automatické aktualizace povoleny
    WooCommerce - PDF Vouchers: version: 4.4.2, author: WPWeb, Automatické aktualizace zakázány
    WooCommerce Free Gift Coupons: version: 2.4.3, author: Kathy Darling, Automatické aktualizace zakázány
    WooCommerce Google Analytics Integration: version: 1.8.13, author: WooCommerce, Automatické aktualizace zakázány
    WooCommerce PDF Vouchers - Redeem Voucher on Cart Total: version: 1.0.0, author: WPWeb, Automatické aktualizace zakázány
    WooCommerce Product Fees: version: 1.3.0, author: Caleb Burks, Automatické aktualizace zakázány
    Woo Store Vacation: version: 1.9.3, author: MyPreview, Automatické aktualizace zakázány
    WordPress Importer: version: 0.8.2, author: wordpressdotorg, Automatické aktualizace zakázány
    WP Date and Time Shortcode: version: 2.6.5, author: Denra.com aka SoftShop Ltd., Automatické aktualizace zakázány
    WPify Woo: version: 4.0.8, author: WPify s.r.o., Automatické aktualizace zakázány
    Wpify Woo Sodexo: version: 2.0.0, author: WPify, Automatické aktualizace zakázány
    WP Mail SMTP: version: 3.11.1, author: WP Mail SMTP, Automatické aktualizace zakázány wp-plugins-inactive (7) Advanced Cron Manager: version: 2.5.2, author: BracketSpace, Automatické aktualizace zakázány
    BEAR – Bulk Editor and Products Manager Professional for WooCommerce: version: 1.1.4.1, author: realmag777 (latest version: 1.1.4.2), Automatické aktualizace zakázány
    Classic Widgets: version: 0.3, author: WordPress Contributors, Automatické aktualizace zakázány
    LiteSpeed Cache: version: 6.1, author: LiteSpeed Technologies, Automatické aktualizace zakázány
    Smart Coupons For WooCommerce Coupons: version: 1.6.0, author: WebToffee, Automatické aktualizace zakázány
    WP Rocket: version: 3.15.3, author: WP Media, Automatické aktualizace zakázány
    WP Sheet Editor - WooCommerce Products: version: 1.8.9, author: WP Sheet Editor, Automatické aktualizace zakázány wp-media image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1808
    imagemagick_version: ImageMagick 7.1.0-50 beta Q16-HDRI x86_64 20489 https://imagemagick.org
    imagick_version: 3.7.0
    file_uploads: 1
    post_max_size: 512M
    upload_max_filesize: 512M
    max_effective_size: 512 MB
    max_file_uploads: 20
    imagick_limits:
    imagick::RESOURCETYPE_AREA: 125 GB
    imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
    imagick::RESOURCETYPE_FILE: 30720
    imagick::RESOURCETYPE_MAP: 125 GB
    imagick::RESOURCETYPE_MEMORY: 63 GB
    imagick::RESOURCETYPE_THREAD: 1
    imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
    imagemagick_file_formats: 3FR, 3G2, 3GP, A, AAI, AI, APNG, ART, ARW, ASHLAR, AVI, AVS, B, BAYER, BAYERA, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, C, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FARBFELD, FAX, FF, FILE, FITS, FL32, FLV, FRACTAL, FTP, FTS, FTXT, G, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K, K25, KDC, LABEL, M, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, O, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, QOI, R, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCREENSHOT, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, STRIMG, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBM, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, Y, YAML, YCbCr, YCbCrA, YUV
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, WebP, BMP
    ghostscript_version: unknown wp-server server_architecture: Linux 5.4.0-109-generic x86_64
    httpd_software: Apache
    php_version: 8.0.27 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 10000
    time_limit: 300
    memory_limit: 1024M
    max_input_time: 30
    upload_max_filesize: 512M
    php_post_max_size: 512M
    curl_version: 7.29.0 NSS/3.36
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true
    current: 2024-02-06T11:48:15+00:00
    utc-time: Tuesday, 06-Feb-24 11:48:15 UTC
    server-time: 2024-02-06T13:48:11+02:00 wp-database extension: mysqli
    server_version: 10.3.32-MariaDB-log
    client_version: mysqlnd 8.0.27
    max_allowed_packet: 16777216
    max_connections: 1000 wp-constants WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /data/web/virtuals/299085/virtual/www/wp-content
    WP_PLUGIN_DIR: /data/web/virtuals/299085/virtual/www/wp-content/plugins
    WP_MEMORY_LIMIT: 1024M
    WP_MAX_MEMORY_LIMIT: 1024M
    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: Nedefinováno
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8
    DB_COLLATE: utf8_general_ci wp-filesystem wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable wp_mail_smtp version: 3.11.1
    license_key_type: lite
    debug: No debug notices found.
    Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @wextercz

    I hope you’re well today!

    I can already tell based on the screenshot that you provided (in context of past experience with multiple similar issues) that in majority of cases this is caused by a conflict on site.

    Since you provided the environment information, I checked it and I see that PHP and WordPress versions are good enough and most of other settings seem correct. Divi itself shouldn’t be a problem here either.

    The list of plugins, however, is quite long and while I don’t see any plugin that’s well known to cause such conflict, it’s possible that the conflict involves a combination of two or more plugins or it’s something new that we are not aware of yet.

    At this point, there’ll be a full plugin conflict test necessary:

    – clear all caches on site/server and disable all the plugin except Forminator
    – it should start working fine
    – start enabling plugins back one by one, after each one checking for the issue
    – when it starts happening again, you’d know that the last enabled plugin right before it is causing the conflict.

    Let us know about it and we’ll then check it closer to find out why the conflict happens and if we could provide solution for it (or if it needs to be fixed in that conflicting plugin).

    Kind regards,
    Adamd

    Thread Starter wextercz

    (@wextercz)

    Found the conflict.

    Plugin: Order Tip for WooCommerce

    Autor: Adrian Emil Tudorache

    Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @wextercz

    Thank you for update!

    I installed that plugin and was able to replicate the issue.

    Upon closer inspection, it is caused due to the bug in the Order Tip for WooCommerce plugin. I’ll explain it below but first, let me share a raw patch for this.

    We need to restore one of the CSS classes that are missing from the “body” tag when this plugin is active so it can be done using this custom code:

    <?php 
    
    function forminator_order_tips_bodyclass_add_sui( $classes ) {
    	
    	$classes .= ' sui-2-12-23';
    	
    	return $classes;
    	
    }
    
    add_action( 'admin_head', 'forminator_order_tips_bodyclass_fix' );
    function forminator_order_tips_bodyclass_fix() { 
    
    	if ( is_plugin_active( 'order-tip-woo/order-tip-for-woocommerce.php' ) ) {
    		
    		add_filter( 'admin_body_class', 'forminator_order_tips_bodyclass_add_sui', 9999, 1);
    		
    	}
    
    }

    To add it to site:

    – create an empty file with a .php extension (e.g. “forminator-ordertips-css-hotifx.php”) in the “/wp-content/mu-plugins” folder of your site’s WordPress install

    – copy and paste above code into it

    – save the file and clear all caches on site/server

    It should work out of the box.

    —-

    As for the issue itself, it happens because Order Tip for WooCommerce removes some of the custom classes (not only related to Forminator actually; it removes some other too which may cause similar issues with other plugins too) from the “body” tag.

    It happens because of incorrect use of “admin_body_class” hook in plugin’s code. There are two things that need to be corrected in that plugin. Both are in the /order-tip-woo/admin/controllers/config.class.php file.

    1. In line 32 there is a line

    add_action( 'admin_body_class', array( $this, 'admin_body_class' ) );

    but it should be

    add_filter( 'admin_body_class', array( $this, 'admin_body_class' ) );

    because “admin_body_class” is a filter hook, not action hook. That’s not a big deal but nonetheless, it should be corrected.

    2. in “admin_body_class()” function from line 57:

    – this function checks if current page is related to Order Tip plugin and if yes, it adds its own classes to existing ones and return everything – which is fine and correct

    – but it doesn’t return anything on other pages; it should return unmodified value of $classes variable in every other case.

    This is a bug and needs to be fixed by the developer of that plugin so please feel free to report it to them. In the meantime, provided workaround should do the trick.

    Kind regards,
    Adam

    Plugin Support Williams – WPMU DEV Support

    (@wpmudevsupport3)

    Hi @wextercz,

    We haven’t heard from you in a while, I’ll go and mark this thread as resolved. Note that you can still reply on this topic.

    If you have any additional questions or require further help, please let us know!

    Best regards,
    Laura

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

The topic ‘No CSS in adminnistration’ is closed to new replies.