Skip Navigation

[Resolved] PHP Warning – disabled for security reasons

This thread is resolved. Here is a description of the problem and solution.

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 3 years, 5 months ago. 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)

This topic contains 2 replies, has 2 voices.

Last updated by fred-r.M 3 years, 5 months ago.

Assisted by: Minesh.

Author
Posts
#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: hidden link

#2075891

Minesh
Supporter

Languages: English (English )

Timezone: 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:
hidden link

#2076643

My issue is resolved now. Thank you!