Forum Replies Created

Viewing 15 replies - 61 through 75 (of 90 total)
  • Thread Starter donbowman

    (@donbowman)

    $this->gfonts_files = $page_assets[‘gfonts_files’];
    $this->gfonts_url = $page_assets[‘gfonts_url’];

    both of these give the warning (gfonts_files, gfonts_urls)

    Thread Starter donbowman

    (@donbowman)

    fix works for me.
    thanks!

    Thread Starter donbowman

    (@donbowman)

    thanks for the update.

    Thread Starter donbowman

    (@donbowman)

    Thread Starter donbowman

    (@donbowman)

    On my staging site, w/ the gutenberg active: blockmeister has the problem above.

    On my staging site, w/ the gutenberg not active: blockmeister shows my patterns correctly.

    So your intuition was correct.

    Thread Starter donbowman

    (@donbowman)

    I do have the gutenberg plugin active!

    I’m not 100% sure its safe to deactivate (since we may be using some features from it), i can see about testing on my staging site.

    Thread Starter donbowman

    (@donbowman)

    yes this resolves, thanks very much.

    Thread Starter donbowman

    (@donbowman)

    great! will try.

    Thread Starter donbowman

    (@donbowman)

    https://bugs.php.net/bug.php?id=80699

    is the underlying reason.
    array_map no longer passes by reference.
    reset() requires reference.

    e.g. REST/V1/Post_Repository.php:92

    adding:

    
            public static function _reset($arr) {
                    return reset($arr);
            }
    

    and changing to e.g.
    $meta = array_map( ‘Tribe__Events__REST__V1__Post_Repository::_reset’, get_post_custom( $event_id ));

    resolves.

    • This reply was modified 3 years, 5 months ago by donbowman.

    tried. it works!

    the nv-iframe-embed comes from the theme (neve-pro)

    This s great!

    Does anyone else see this and/or have a suggested solution?

    https://www.agilicus.com/zero-trust/

    shows an example. The thumbnail is there, when i click it, the audio starts, but no video is visible. When i resize window its then showing correctly.

    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
    Thread Starter donbowman

    (@donbowman)

    you’re the best!

    I will try this shortly.

    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!

    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

Viewing 15 replies - 61 through 75 (of 90 total)