you need to execute these commands inside the quickstatements docker container (e.g. from terminal:
docker exec -it wikibase-docker_quickstatements_1 /bin/bash
) or replace the file using local file mapping in the docker-compose.yml
recipe
- comment out the
require_once
line in the/var/www/html/magnustools/public_html/php/wikidata.php
for example, using sed :
sed -i 's/require_once/\/\/require_once/' /var/www/html/magnustools/public_html/php/wikidata.php