• Hi,

    I use wp-fc in version 1.2.6 with nginx and php 8.3. When I try to enable varnish cache, installed on the host machine on localhost, I see this error in the backend-log:

    Call to a member function get_error_messages() on array in /home/…/wp-content/plugins/wp-fastest-cache/inc/varnish.php:63

    And idea? I can disable this check and it seems to work, but this cannot be the reason.

    Kind regards, Mario

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Emre Vona

    (@emrevona)

    are you sure that you installed the Varnish Cache into the server?

    Thread Starter snowpaws

    (@snowpaws)

    Hi, yes I am. I installed on both environments, production and development.

    root@deb-vps4:~# systemctl status varnish
    ● varnish.service - Varnish Cache, a high-performance HTTP accelerator
         Loaded: loaded (/lib/systemd/system/varnish.service; enabled; preset: enabled)
         Active: active (running) since Tue 2024-05-14 22:21:51 CEST; 2 days ago
           Docs: https://www.varnish-cache.org/docs/
                 man:varnishd
       Main PID: 351645 (varnishd)
          Tasks: 217 (limit: 4531)
         Memory: 159.3M
            CPU: 2min 37.668s
         CGroup: /system.slice/varnish.service
                 ├─351645 /usr/sbin/varnishd -j unix,user=vcache -F -a :6081 -T localhost:6082 -f /etc/varnish/default.vcl -S /etc/varnish/secret -s malloc,256m
                 └─351659 /usr/sbin/varnishd -j unix,user=vcache -F -a :6081 -T localhost:6082 -f /etc/varnish/default.vcl -S /etc/varnish/secret -s malloc,256m
    
    May 14 22:21:51 deb-vps4 systemd[1]: Started varnish.service - Varnish Cache, a high-performance HTTP accelerator.
    May 14 22:21:51 deb-vps4 varnishd[351645]: Debug: Version: varnish-7.1.1 revision 7cee1c581bead20e88d101ab3d72afb29f14d87a
    May 14 22:21:51 deb-vps4 varnishd[351645]: Debug: Platform: Linux,6.1.0-21-amd64,x86_64,-junix,-smalloc,-sdefault,-hcritbit
    May 14 22:21:51 deb-vps4 varnishd[351645]: Version: varnish-7.1.1 revision 7cee1c581bead20e88d101ab3d72afb29f14d87a
    May 14 22:21:51 deb-vps4 varnishd[351645]: Platform: Linux,6.1.0-21-amd64,x86_64,-junix,-smalloc,-sdefault,-hcritbit
    May 14 22:21:51 deb-vps4 varnishd[351645]: Debug: Child (351659) Started
    May 14 22:21:51 deb-vps4 varnishd[351645]: Child (351659) Started
    May 14 22:21:51 deb-vps4 varnishd[351645]: Child launched OK
    May 14 22:21:51 deb-vps4 varnishd[351645]: Info: Child (351659) said Child starts
    May 14 22:21:51 deb-vps4 varnishd[351645]: Child (351659) said Child starts
    root@deb-vps4:~# netstat -nap | grep "varnishd"
    tcp        0      0 0.0.0.0:6081            0.0.0.0:*               LISTEN      351645/varnishd
    tcp        0      0 127.0.0.1:6082          0.0.0.0:*               LISTEN      351645/varnishd
    tcp6       0      0 :::6081                 :::*                    LISTEN      351645/varnishd
    tcp6       0      0 ::1:6082                :::*                    LISTEN      351645/varnishd
    unix  3      [ ]         STREAM     CONNECTED     2018824  351645/varnishd
    unix  2      [ ]         DGRAM      CONNECTED     2019480  351645/varnishd
    
    Plugin Author Emre Vona

    (@emrevona)

    can you create a test site with sub-domain for me please?

    Thread Starter snowpaws

    (@snowpaws)

    Hi,

    I could give you access to the deveploment environment but you have to change your local hostfile for that, because it’s a full-clone without any changes. Is that ok for you? I could also give you ssh access.

    Regards, Mario

    Plugin Author Emre Vona

    (@emrevona)

    are you working on localhost?

    Thread Starter snowpaws

    (@snowpaws)

    No, it’s a real server based on Debian 12, nginx, php 8.3 reachable via ipv4 and ipv6

    Plugin Author Emre Vona

    (@emrevona)

    Please contact us via email: https://www.wpfastestcache.com/contact-us/

    Thread Starter snowpaws

    (@snowpaws)

    I’ll do but I have to check an other issue first, please do not hurry.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error with varnish’ is closed to new replies.