Skip Navigation

[Resolved] CRED filling up php error log

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

Problem:
Just switched hosts and am now getting the following repeating warning in my php error log that is filling up so fast it is filling my server space and killing the site:

[19-Aug-2017 20:14:09 UTC] PHP Warning: scandir(/): failed to open dir: Operation not permitted in /var/www/vhosts/doula.org.uk/httpdocs/wp-content/plugins/cred-frontend-editor/application/submit.php on line 25
[19-Aug-2017 20:14:09 UTC] PHP Warning: scandir(): (errno 1): Operation not permitted in /var/www/vhosts/doula.org.uk/httpdocs/wp-content/plugins/cred-frontend-editor/application/submit.php on line 25
[19-Aug-2017 20:14:09 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/doula.org.uk/httpdocs/wp-content/plugins/cred-frontend-editor/application/submit.php on line 26
[19-Aug-2017 20:14:09 UTC] PHP Warning: scandir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/common:/var/www/vhosts/doula.org.uk/httpdocs:/var/www/vhosts/doula.org.uk/statistics:/tmp) in /var/www/vhosts/doula.org.uk/httpdocs/wp-content/plugins/cred-frontend-editor/application/submit.php on line 25

Solution:
This looks like a file or folder permission issue.

1. Please Delete and re-install latest version of CRED v1.9.2 plugin from here and see if it resolves the issue: https://toolset.com/download/toolset-cred/

2. If error still continues, please check file and folder permissions -- typically Folders should have 755 permission and Files have 644.

Please also contact hosting support and ask them to confirm file and folder permissions and that opendir() function is enabled on the server. They might have more info on this error.

This support ticket is created 7 years, 3 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.

Our next available supporter will start replying to tickets in about 4.04 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Chris 7 years, 2 months ago.

Assisted by: Noman.

Author
Posts
#561918

HI,
Just switched hosts and am now getting the following repeating warning in my php error log that is filling up so fast it is filling my server space and killing the site:
[19-Aug-2017 20:14:09 UTC] PHP Warning: scandir(/): failed to open dir: Operation not permitted in /var/www/vhosts/doula.org.uk/httpdocs/wp-content/plugins/cred-frontend-editor/application/submit.php on line 25
[19-Aug-2017 20:14:09 UTC] PHP Warning: scandir(): (errno 1): Operation not permitted in /var/www/vhosts/doula.org.uk/httpdocs/wp-content/plugins/cred-frontend-editor/application/submit.php on line 25
[19-Aug-2017 20:14:09 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/doula.org.uk/httpdocs/wp-content/plugins/cred-frontend-editor/application/submit.php on line 26
[19-Aug-2017 20:14:09 UTC] PHP Warning: scandir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/common:/var/www/vhosts/doula.org.uk/httpdocs:/var/www/vhosts/doula.org.uk/statistics:/tmp) in /var/www/vhosts/doula.org.uk/httpdocs/wp-content/plugins/cred-frontend-editor/application/submit.php on line 25

#561970

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi Chris,

Thank you for contacting Toolset Support. There is no such reported issue so far for CRED, this looks like a file or folder permission issue.

1. Please Delete and re-install latest version of CRED v1.9.2 plugin from here and see if it resolves the issue: https://toolset.com/download/toolset-cred/

2. If error still continues, please check file and folder permissions -- typically Folders should have 755 permission and Files have 644.

Please also contact hosting support and ask them to confirm file and folder permissions and that opendir() function is enabled on the server. They might have more info on this error.

Thank you

#564600

Host specific problem that has now been resolved.

Thank you to Toolset for working with my host to fix this