• Resolved donbowman

    (@donbowman)


    Prior to this release (3.1.5) things were ok. Now we get errors like:
    chmod($filename = 'gs://MYBUCKET/www/fvm-cache/min/jsd568b41b64424676XXX2fb1361b86ed51ae6b009e56688417c07015774c3.js'

    wordpress 5.7.1 w/ wp-stateless 3.1.1 on php 8 on ubuntu 20.04

    i do not have any ‘cdn options’ enabled.

    This was working previously.
    I think the desired behaviour is to not store the cache back to the stateless store (since it will rebuild locally as needed).

    
    [25-Apr-2021 21:04:09] WARNING: [pool www] child 76 said into stderr: "NOTICE: PHP message: PHP Warning:  Trying to access array offset on value of type null in /app/wp-content/plugins/fast-velocity-minify/inc/admin.php on line 30"
    [25-Apr-2021 21:04:09] WARNING: [pool www] child 76 said into stderr: "NOTICE: PHP message: PHP Stack trace:"
    [25-Apr-2021 21:04:09] WARNING: [pool www] child 76 said into stderr: "NOTICE: PHP message: PHP   1. {main}() /app/wp-admin/plugins.php:0"
    [25-Apr-2021 21:04:09] WARNING: [pool www] child 76 said into stderr: "NOTICE: PHP message: PHP   2. require_once() /app/wp-admin/plugins.php:10"
    [25-Apr-2021 21:04:09] WARNING: [pool www] child 76 said into stderr: "NOTICE: PHP message: PHP   3. do_action($tag = 'admin_init') /app/wp-admin/admin.php:175"
    [25-Apr-2021 21:04:09] WARNING: [pool www] child 76 said into stderr: "NOTICE: PHP message: PHP   4. WP_Hook->do_action($args = [0 => '']) /app/wp-includes/plugin.php:484"
    [25-Apr-2021 21:04:09] WARNING: [pool www] child 76 said into stderr: "NOTICE: PHP message: PHP   5. WP_Hook->apply_filters($value = '', $args = [0 => '']) /app/wp-includes/class-wp-hook.php:316"
    [25-Apr-2021 21:04:09] WARNING: [pool www] child 76 said into stderr: "NOTICE: PHP message: PHP   6. fvm_check_minimum_requirements('') /app/wp-includes/class-wp-hook.php:292"
    {"time": "2021-04-25T21:04:09+00:00","downstream_remote_address": "172.17.0.1","x_forward_for": "172.17.0.1","request_id": "","remote_user": "","bytes_sent": 3914,"start_time": 0.001,"response_code": 200,"authority": "localhost","protocol": "HTTP/1.1","path": "/webpushr-sw.js.php","request_query": "","request_length": 1116,"duration": 0.001,"method": "GET","http_referrer": "https://localhost/webpushr-sw.js.php","http_user_agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.19 Safari/537.36","sub": ""}
    2021/04/25 21:04:11 [error] 89#89: *27 FastCGI sent in stderr: "PHP message: PHP Warning:  Trying to access array offset on value of type null in /app/wp-content/plugins/fast-velocity-minify/inc/admin.php on line 30PHP message: PHP Stack trace:PHP message: PHP   1. {main}() /app/wp-admin/plugins.php:0PHP message: PHP   2. require_once() /app/wp-admin/plugins.php:10PHP message: PHP   3. do_action($tag = 'admin_init') /app/wp-admin/admin.php:175PHP message: PHP   4. WP_Hook->do_action($args = [0 => '']) /app/wp-includes/plugin.php:484PHP message: PHP   5. WP_Hook->apply_filters($value = '', $args = [0 => '']) /app/wp-includes/class-wp-hook.php:316PHP message: PHP   6. fvm_check_minimum_requirements('') /app/wp-includes/class-wp-hook.php:292" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /wp-admin/plugins.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "localhost", referrer: "https://localhost/"
    
    • This topic was modified 3 years, 7 months ago by donbowman.

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Raul P.

    (@alignak)

    On 3.1.5 I have switched to the native WordPress function to save the files on the uploads directory, but I forgot that reference, so the notice is a bug.

    If you have writing permissions on the uploads directory, it should still work correctly, albeit with that notice. I have fixed it on 3.1.6 so try again to update later.

    Thanks

    Thread Starter donbowman

    (@donbowman)

    thank you!
    will try 3.1.6 later.

    ps, no, it doesn’t work, it ends up w/ bad paths for all the cached files (e.g. it doesn’t follow my cname in wp-stateless, but i don’t think it should come from there at all).

    • This reply was modified 3 years, 7 months ago by donbowman.
    Thread Starter donbowman

    (@donbowman)

    so i see 3.1.6 is there.

    
    wp plugin list |grep fast
    fast-velocity-minify	active	none	3.1.6
    

    but, it does not work. Note that it has the bucket name (gs://) rather than the filesystem path.

    9. is_dir($filename = 'gs://agilicus/www/fvm-cache/min') /app/wp-content/plugins/fast-velocity-minify/inc/common.php:407"
    Warning:  is_dir(): Unable to find the wrapper "gs" - did you forget to enable it when you configured PHP? in /app/wp-content/plugins/fast-velocity-minify/inc/common.php on line 407"
    Stack trace:"
    1. shutdown_action_hook() /app/wp-includes/load.php:0"
    2. do_action($tag = 'shutdown') /app/wp-includes/load.php:1072"
    3. WP_Hook->do_action($args = [0 => '']) /app/wp-includes/plugin.php:484"
    4. WP_Hook->apply_filters($value = '', $args = [0 => '']) /app/wp-includes/class-wp-hook.php:316"
    5. wp_ob_end_flush_all('') /app/wp-includes/class-wp-hook.php:292"
    6. ob_end_flush() /app/wp-includes/functions.php:4757"
    7. fvm_process_page($html = '<!DOCTYPE html>\n<html lang="en-CA" xmlns:og="https://opengraphprotocol.org/schema/" xmlns:fb="https://www.facebook.com/2008/fbml">\n\n<head>\n\t\n\t<meta charset="UTF-8">\n\t<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">\n\t<link rel="profile" href="https://gmpg.org/xfn/11">\n\t\t<script>\nvar __wpcal_dist_url = "https://localhost/wp-content/plugins/wpcal/dist/";\n</script>\n\t\t<!-- Manifest added by SuperPWA - Progressive Web Apps Plugin For WordPress -->\n<link rel="ma', 9) /app/wp-includes/functions.php:4757"
    8. fvm_generate_min_url($url = 'https://localhost/wp-content/plugins/simply-gallery-block//plugins/pgc_sgb_lightbox.min.js?ver=2.1.0', $tkey = 'js454ac412348acc9383e7ea30e4dda89d7c62146b0787b6035d6027816134ea', $type = 'js', $code = 'try{\n!function(e){var t={};function i(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__') /app/wp-content/plugins/fast-velocity-minify/inc/frontend.php:707"
    9. is_dir($filename = 'gs://agilicus/www/fvm-cache/min') /app/wp-content/plugins/fast-velocity-minify/inc/common.php:407"
    Warning:  chmod(): Unable to find the wrapper &quot;gs&quot; - did you forget to enable it when you configured PHP? in /app/wp-admin/includes/class-wp-filesystem-direct.php on line 173"
    Stack trace:"
    1. shutdown_action_hook() /app/wp-includes/load.php:0"
    2. do_action($tag = 'shutdown') /app/wp-includes/load.php:1072"
    3. WP_Hook->do_action($args = [0 => '']) /app/wp-includes/plugin.php:484"
    4. WP_Hook->apply_filters($value = '', $args = [0 => '']) /app/wp-includes/class-wp-hook.php:316"
    5. wp_ob_end_flush_all('') /app/wp-includes/class-wp-hook.php:292"
    6. ob_end_flush() /app/wp-includes/functions.php:4757"
    7. fvm_process_page($html = '<!DOCTYPE html>\n<html lang="en-CA" xmlns:og="https://opengraphprotocol.org/schema/" xmlns:fb="https://www.facebook.com/2008/fbml">\n\n<head>\n\t\n\t<meta charset="UTF-8">\n\t<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">\n\t<link rel="profile" href="https://gmpg.org/xfn/11">\n\t\t<script>\nvar __wpcal_dist_url = "https://localhost/wp-content/plugins/wpcal/dist/";\n</script>\n\t\t<!-- Manifest added by SuperPWA - Progressive Web Apps Plugin For WordPress -->\n<link rel="ma', 9) /app/wp-includes/functions.php:4757"
    8. fvm_generate_min_url($url = 'https://localhost/wp-content/plugins/simply-gallery-block//plugins/pgc_sgb_lightbox.min.js?ver=2.1.0', $tkey = 'js454ac412348acc9383e7ea30e4dda89d7c62146b0787b6035d6027816134ea', $type = 'js', $code = 'try{\n!function(e){var t={};function i(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__') /app/wp-content/plugins/fast-velocity-minify/inc/frontend.php:707"
    9. WP_Filesystem_Direct->put_contents($file = 'gs://agilicus/www/fvm-cache/min/js454ac412348acc9383e7ea30e4dda89d7c62146b0787b6035d6027816134ea.js', $contents = 'try{\n!function(e){var t={};function i(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__', $mode = *uninitialized*) /app/wp-content/plugins/fast-velocity-minify/inc/common.php:423"
    10. WP_Filesystem_Direct->chmod($file = 'gs://agilicus/www/fvm-cache/min/js454ac412348acc9383e7ea30e4dda89d7c62146b0787b6035d6027816134ea.js', $mode = FALSE, $recursive = *uninitialized*) /app/wp-admin/includes/class-wp-filesystem-direct.php:86"
    11. chmod($filename = 'gs://agilicus/www/fvm-cache/min/js454ac412348acc9383e7ea30e4dda89d7c62146b0787b6035d6027816134ea.js', $permissions = 420) /app/wp-admin/includes/class-wp-filesystem-direct.php:173"
    Warning:  Undefined variable $check in /app/wp-content/plugins/fast-velocity-minify/inc/common.php on line 782"
    
    • This reply was modified 3 years, 7 months ago by donbowman.
    Plugin Author Raul P.

    (@alignak)

    This is similar to another topic on
    https://www.ads-software.com/support/topic/wp-stateless-broken-by-3-1-5/

    I changed it to use the info from wp_upload_dir() and wp stateless apparently is rewriting the upload path, so FVM fails.

    It shows that your root directory is gs://agilicus/www/ but with the gs:/ prefix it won’t work. Can you confirm if your actual public directory path is /agilicus/www/ ?

    If yes, then I could simply check and strip the prefix and it should work.

    Thread Starter donbowman

    (@donbowman)

    its not that simple.
    there is no uploads dir, it is stored into google cloud storage. its not a local directory.

    so image uploads etc are stored to gs://agilicus/www,and retrieved on fetch. its not a filesystem.

    something in fvm is not interoperating, fvm thinks its a directory to write.

    i have 2 concurrent copies of wordpress running, they don’t share a filesystem, so wp-stateless allows this.

    until this change, fvm used a directory other than the uploads, so that was fine, each instance made its own cache.

    after this change, it is wanting to upload the cached copy to GCS, but, only half doing so.

    Plugin Author Raul P.

    (@alignak)

    But previously, it was also using the filesystem. You needed to have a writeable public directory for FVM to put the generated css and js files.

    I understand what wp-stateless does, but the uploads directory should still be there, even if it’s not writeable (if it is, then better of course).

    FVM cannot interact with the remote cloud storage because it would be too slow, whenever it needs to “upload” multiple files and your TTFB would suffer. It needs to write the files somewhere.

    I have another plugin that has the option to use dynamic css and js files, so there are no disk writes (this is not for sale, only for my clients).

    I was thinking I can port that feature down to FVM, however note, you would need to use that feature with a CDN or server side cache. Else the server load would increase significantly with all of the dynamic requests for the css and js files, especially with http2 enabled.

    Will it solve the issue for you, if I add an option to overwrite the default uploads directory with a custom file path that can be defined on wp-config.php ?
    It should be similar to the old version, you specify a public url and a public directory path. You still need a public directory though… for FVM to write files into it directly.

    Edit, just noticed you said you have 2 servers. In that case, even the previous version wouldn’t work (it would generate only on one server separately), unless of course, you had a shared mount for them.
    For multiserver setups, serving the minified files dynamically would be better.

    • This reply was modified 3 years, 6 months ago by Raul P..
    Thread Starter donbowman

    (@donbowman)

    yes, the uploads is now ‘trapped’ by wp-stateless, its not a directory. when something tries to upload to it, wp-stateless intercepts and moves to gcs, when you try to read, it intercepts and fetches.

    other directories still exist, they are ephemeral. this is the strategy used by the caching plugins. e.g. i use wp-super-cache. it doesn’t create pretend uploads, so it doesn’t interact w/ wp-stateless.

    
    /app/wp-content/uploads
    openresty@agilicus-www-nbr6cpjykgz-8f49d865c-6m5j2:/app/wp-content/uploads$ ls
    openresty@agilicus-www-nbr6cpjykgz-8f49d865c-6m5j2:/app/wp-content/uploads$ 
    

    the directory is empty.

    the older version of fvm used cache/fvm, which is just fine (below):

    
    
    /app/wp-content/cache$ find .
    .
    ./supercache
    ./supercache/www.agilicus.com
    ./supercache/www.agilicus.com/helm-kubernetes-and-the-immutable-configmap-a-design-pattern
    ./supercache/www.agilicus.com/helm-kubernetes-and-the-immutable-configmap-a-design-pattern/index-https.html
    ./supercache/www.agilicus.com/feed
    ./supercache/www.agilicus.com/feed/podcast
    ./supercache/www.agilicus.com/feed/podcast/meta-wp-cache-a752d67f7343c266c12abe81712050e3.php
    ./supercache/www.agilicus.com/feed/podcast/wp-cache-a752d67f7343c266c12abe81712050e3.php
    ./supercache/www.agilicus.com/about
    ./supercache/www.agilicus.com/about/index-https.html
    ./supercache/www.agilicus.com/index-https.html
    ./supercache/www.agilicus.com/latency-and-load-testing-web-site
    ./supercache/www.agilicus.com/book-calendar-meeting
    ./supercache/www.agilicus.com/book-calendar-meeting/don-bowman-agilicus-15-min
    ./supercache/www.agilicus.com/book-calendar-meeting/don-bowman-agilicus-15-min/index-https.html
    ./fvm
    ./fvm/min
    ./fvm/min/www.agilicus.com
    ./fvm/min/_
    ./fvm/min/_/1619637265-cbc0990829804669908c521bc837b9e1763aad96.min.css
    ./fvm/min/_/1619637265-0b5383553ea8b9eb574e6deea75e9dc037f5a22b.min.css
    ./fvm/min/_/1619637265-21d67a5d652b817b44804e1c4e5e8376c38a7ad3.min.css
    ./fvm/min/_/1619637265-629a80f3d83f2b3df4bdc252defe4607bbb65a0f.footer.min.js
    ./fvm/min/_/1619637265-e4d4bc81fa10e8f79a82d70dee5fb4aa77f88bd5.min.css
    ./fvm/min/_/1619637265-718efb94ede6bb7ba2838ea5bafe6d07c7bcf269.min.css
    ./fvm/min/_/1619637265-cd98d2518ce30332dc7c5cddc1c9e6e3992f2ff4.min.css
    ./fvm/min/_/1619637265-88e95a738b6cbbd044e4077eef77c75149f5d433.min.css
    ./fvm/min/_/1619637265-45e41865399113e25dbe3a30b15c5b4c37cb2029.min.css
    ./fvm/min/_/1619637265-69f365242649b4510e895920d7ccfd853dc3a733.min.css
    ./fvm/min/_/1619637265-a2cb154bbb8bcf4e60d2104be57449966abf0d35.min.css
    ./fvm/min/_/1619637265-0aa956ca7079442eb055945a8c3995d95f5e683c.min.css
    ./fvm/min/_/1619637265-53cb355f8699f6880c4d998c3827167ec5b2a69d.min.css
    ./fvm/min/_/1619637265-bc1b3dfa3e4ad3719d65f9ca4cfc82a0811e293f.min.css
    ./fvm/min/_/1619637265-735b239b061422da47b439e72aa7d9dabb7de83c.min.css
    ./fvm/min/_/1619637265-08d99f8ffd65fbde5fa4f17d7dd7b28d7225e873.min.css
    ./fvm/min/_/1619637265-075b41ee8663a8dc3df3516756de4ecc15b91f93.footer.min.js
    ./fvm/min/_/1619637265-0d92c25643f009c825762f1f8b10b32497884362.min.css
    ./fvm/min/_/1619637265-67fc190960dcbb6d2187a181908938a6a65b42de.min.css
    ./fvm/min/_/1619637265-5ad52a8f62f49aa1c229489d2f9e102f8830e1ac.footer.min.js
    ./fvm/min/_/1619637265-43f86cdbd96b869ff8c311b34036fff2ee28b655.min.css
    ./fvm/min/_/1619637265-6b569f5dedd3c27527606cdb1dc5fb76d6419f78.min.css
    ./fvm/min/_/1619637265-887cf5768ade1714307845a22cf1b27afe65e64a.min.css
    ./fvm/min/_/1619637265-273275cbee9183f7ae8f2f247b2fd65359249634.min.css
    ./fvm/min/_/1619637265-e588b37cb32452303ed3e4e7af0356b33dc47450.min.css
    ./fvm/min/_/1619637265-f30632bc1a36b08c55222b69f1ddc2629ba88f59.min.css
    ./fvm/min/_/1619637265-55ec14db0cc7925c3b1ff7ee3b57cb4cd5fef7b1.min.css
    ./fvm/min/_/1619637265-971042e407af427b3653e1f50d42a8fef471fcc4.min.css
    ./fvm/min/_/1619637265-fb1be8a911df7f9aa968be0a2975ecb707406667.header.min.js
    ./fvm/min/_/1619637265-a053c3bc430733bfc0109bf995b555483449bb8e.min.css
    ./fvm/min/_/1619637265-4358be4a9fc8fded43291592987d846e48d06a10.footer.min.js
    ./fvm/min/_/1619637265-06295d01cfd1fa60a7f68a811b67874b36e6a53b.min.css
    ./fvm/min/_/1619637265-7d7ae0a5f6a33182f8a9f182dba90bfa1162161a.min.css
    ./fvm/min/_/1619637265-7e31c4c4eb414b60d6292c4d895116f0d8083356.min.css
    ./fvm/min/_/1619637265-4952ab70bce37b204f4aa129830c0dd6728a553c.min.css
    ./fvm/min/_/1619637265-17f60038fee950491dd9563c251af13d3ec408b2.min.css
    ./fvm/min/_/1619637265-1c2563afda10ba6e7e5985527762153354767b19.min.css
    ./fvm/min/_/1619637265-0fbe6ae79c39c2f886f1fffb43703c15b54589d9.min.css

    Plugin Author Raul P.

    (@alignak)

    FVM doesn’t upload or try to create pretend uploads, it writes the files directly to disk using the WP_Filesystem_Direct which is a native class from wordpress to write files to disk.

    It doesn’t interact with wp stateless at all.

    The issue is that, I designed the update to get the disk directory path to write to, directly from the wp_upload_dir() a native wordpress function, which happens to be rewritten by wp stateless.

    Previously, I used the wp-content directory and created a cache directory inside it, or gave you the option to choose your own directory.

    I will take a look at wp stateless and decide if I need to add this back, or add another method. Will update you soon.

    Thread Starter donbowman

    (@donbowman)

    ok thanks.
    if i can help let me know, i can try some patch or modify some code as needed.

    cheers!

    Plugin Author Raul P.

    (@alignak)

    I have added support for custom file paths on 3.2.1 to be released shortly.

    You can now define a custom file path, and custom url by editing wp-config.php and defining the constants below. You will need both constants, and it must be a publicly available writeable directory (or symlinked accordingly).

    define('FVM_DIR', '/path/to/example.com/your/public/directory');
    define('FVM_URL', 'https://example.com/your/public/directory');

    I also changed the default location from the uploads directory, to wp-content/cache so if that directory is writeable on your servers, you should not need the constants.

    Let me know if that works for you.

    Thread Starter donbowman

    (@donbowman)

    you’re the best!

    I will try this shortly.

    Thread Starter donbowman

    (@donbowman)

    So that indeed resolves the wp-stateless, thanks very much!

    It does have an error on startup now:

    [09-May-2021 00:21:56] WARNING: [pool www] child 83 said into stderr: "NOTICE: PHP message: PHP Warning:  Undefined variable $href in /app/wp-content/plugins/fast-velocity-minify/inc/frontend.php on line 683"
    [09-May-2021 00:21:56] WARNING: [pool www] child 83 said into stderr: "NOTICE: PHP message: PHP Stack trace:"
    [09-May-2021 00:21:56] WARNING: [pool www] child 83 said into stderr: "NOTICE: PHP message: PHP   1. shutdown_action_hook() /app/wp-includes/load.php:0"
    [09-May-2021 00:21:56] WARNING: [pool www] child 83 said into stderr: "NOTICE: PHP message: PHP   2. do_action($tag = 'shutdown') /app/wp-includes/load.php:1072"
    [09-May-2021 00:21:56] WARNING: [pool www] child 83 said into stderr: "NOTICE: PHP message: PHP   3. WP_Hook->do_action($args = [0 => '']) /app/wp-includes/plugin.php:484"
    [09-May-2021 00:21:56] WARNING: [pool www] child 83 said into stderr: "NOTICE: PHP message: PHP   4. WP_Hook->apply_filters($value = '', $args = [0 => '']) /app/wp-includes/class-wp-hook.php:316"
    [09-May-2021 00:21:56] WARNING: [pool www] child 83 said into stderr: "NOTICE: PHP message: PHP   5. wp_ob_end_flush_all('') /app/wp-includes/class-wp-hook.php:292"
    [09-May-2021 00:21:56] WARNING: [pool www] child 83 said into stderr: "NOTICE: PHP message: PHP   6. ob_end_flush() /app/wp-includes/functions.php:4757"
    [09-May-2021 00:21:56] WARNING: [pool www] child 83 said into stderr: "NOTICE: PHP message: PHP   7. fvm_process_page($html = '<!DOCTYPE html>\n<html lang="en-CA" xmlns:og="https://opengraphprotocol.org/schema/" xmlns:fb="https://www.facebook.com/2008/fbml">\n\n<head>\n\t\n\t<meta charset="UTF-8">\n\t<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">\n\t<link rel="profile" href="https://gmpg.org/xfn/11">\n\t\t<script>\nvar __wpcal_dist_url = "https://localhost/wp-content/plugins/wpcal/dist/";\n</script>\n\t\t<!-- Manifest added by SuperPWA - Progressive Web Apps Plugin For WordPress -->\n<link rel="ma', 9) /app/wp-includes/functions.php:4757"

    which is here:

    if(!isset($fvm_settings['js']['min_disable']) || (isset($fvm_settings['js']['min_disable'])&& $fvm_settings['js']['min_disable'] != true)) {^M
                                                    ^M
                                                    # skip third party scripts, unless allowed^M
                                                    $allowed = array($fvm_urls['wp_domain'], '/ajax.aspnetcdn.com/ajax/', '/ajax.googleapis.com/ajax/libs/',  '/cdnjs.cloudflare.com/ajax/libs/');^M
                                                    if(str_replace($allowed, '', $href) == $href) {^M
                                                            unset($allscripts[$k]);^M
                                                            continue;^M
                                                    }^M
                                                    ^M
                                                    # force render blocking^M
    Plugin Author Raul P.

    (@alignak)

    Thanks, this should be fixed on 3.2.2

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘3.1.5 breaks with wp-stateless’ is closed to new replies.