Skip Navigation

[Resolved] Toolset Starter Theme spilling logs

This support ticket is created 5 years, 4 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 5 replies, has 2 voices.

Last updated by Shane 5 years, 4 months ago.

Assisted by: Shane.

Author
Posts
#1138277

Our website has crashed. The host has reported this problem with Toolset Starter Theme :

Your theme is spilling logs into the PHP log file with this error ``Warning: readdir() expects parameter 1 to be resource, boolean given in /wp-content/themes/toolset-starter/functions.php on line 193``

Please advise. Cannot even access wp-admin the provide debug info.

#1138348

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Eugene,

Thank you for contacting our support forum.

There must be something else wrong here. This is just a php warning and should not cause an error 500.

Could you asking your hosting provider to check to see if there are any fatal errors in your php logs?

Thanks,
Shane

#1138358

Thanks Shane

I contacted the host. This is their reply :

------------------------

This is the complete error message that is appearing. We do believe this is in fact the error that is causing the site to 500. It may be a warning, but it's happening multiple times a second- we lost count at 30per second with many more to still count.
```
2018/11/01 15:58:13 [error] 1774#1774: *553 FastCGI sent in stderr: "ge: PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /www/wp-content/themes/toolset-starter/functions.php on line 193
PHP message: PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /www/wp-content/themes/toolset-starter/functions.php on line 193
PHP message: PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /www/wp-content/themes/toolset-starter/functions.php on line 193
PHP message: PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /www/wp-content/themes/toolset-starter/functions.php on line 193
PHP message: PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /www/wp-content/themes/toolset-starter/functions.php on line 193
PHP message: PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /www/wp-content/themes/toolset-starter/functions.php on line 193
PHP message: PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /www/wp-content/themes/toolset-starter/functions.php on line 193
PHP message: PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /www/wp-content/themes/toolset-starter/functions.php on line 193
PHP message: PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /www/wp-content/themes/toolset-starter/functions.php on line 193
PHP message: PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /www/wp-content/themes/toolset-starter/functions.php on line 193
PHP message: PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /www/wp-content/themes/toolset-starter/functions.php on line 193
PHP message: PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /www/wp-content/themes/toolset-starter/functions.php on line 193
PHP message: PHP Warning: readdir() expects parameter 1 to be resource, boolean given in /www/wp-content/themes/toolset-starte
```
It appears it cuts short as another error occurs before the server can completely record the error itself.
If you'd like to take a peak, you can download the entire error logs via the site's advanced tab to have your developers take a peak.

-------------------

Eugene

#1138359

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Eugene,

Could you download your theme through FTP and delete the one that is on the site and see if the issue still occurs ?

Thanks,
Shane

#1138363

Thanks Shane

The host was able to disable the theme and the site worked (although it looked terrible with a default WP theme)

Then I tried to update the Toolset Starter theme and activate it. The site crashed again. I can't get into the site or wp-admin.

Eugene

#1138382

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Eugene,

I would recommend moving away from using our Toolset Starter theme as this theme has been deprecated and will no longer be supported.

So I wouldn't be able to get the developers to provide a fix for this.

The best thing to do is to switch to a new theme. You can take a look at our recommended themes as one of them should work well as a substitute for you.
https://toolset.com/documentation/recommended-themes/

Thanks,
Shane

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.