Sauter la navigation

[Résolu] PHP Warning – disabled for security reasons

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:
PHP Warning - disabled for security reasons

Warning: getcwd() has been disabled for security reasons in /mnt/disk1/home/chillicyclingksb/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/lib/Twig/src/Loader/FilesystemLoader.php on line 34

Solution:
Can you please check with your hosting/server authority if they have block such functions.

Please check:
https://www.plothost.com/kb/disable-dangerous-php-functions-web-hosting-server/

Relevant Documentation:

This support ticket is created Il y a 3 années et 6 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par fred-r.M Il y a 3 années et 6 mois.

Assisté par: Minesh.

Auteur
Publications
#2075763

We are getting this Warning:

Warning: getcwd() has been disabled for security reasons in /mnt/disk1/home/chillicyclingksb/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/lib/Twig/src/Loader/FilesystemLoader.php on line 34

What could this problem be?

Sure - I might could disable warnings somehow, but somehow our hosting provider started to block us.

Link to a page where the issue can be seen: lien caché

#2075891

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please check with your hosting/server authority if they have block such functions.

Please check:
lien caché

#2076643

My issue is resolved now. Thank you!