Open issmirnov opened 4 years ago
what php version are you using?
PHP7 from this docker base in this image
ctype_digit
should exist natively in PHP7 so neither compatibility layer should be loaded at all.
I notice that your error message is referring to a lib/tpl/dokuwind/
directory not lib/tpl/twigstarter
.
I cloned twigstarter and renamed it to dokuwind for a WIP project. I checked in the same environment, and installing the twigstarter template through the extension UI seems to have the same issue.
I'm using the following docker config:
---
version: "2"
services:
dokuwiki:
image: linuxserver/dokuwiki
container_name: dokuwiki
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- ./config:/config
ports:
- 80:80
restart: unless-stopped
If this looks like a PHP issue, I can open an issue upstream on https://github.com/linuxserver/docker-dokuwiki
Hello,
There is a fatal bug in this template:
Steps to reproduce:
Analysis:
It seems that the compatibility.php logic is getting loaded first, and then when the vendor/symphony/polyfill code runs there's an issue with the
ctype_digit
function already being declared. I don't know enough about PHP load order or whatsymphony
is for to provide useful debugging here.