envato / envato-theme-check

The WordPress Theme Check plugin for Envato
GNU General Public License v2.0
208 stars 57 forks source link

Get an permanent error with php 7.4 - implode(): Passing glue string after array is deprecated. Swap the parameters #57

Closed kamilionare12 closed 4 years ago

kamilionare12 commented 4 years ago

Plugin case those errors in PHP 7.4.8 (maybe newer) Theme testing result: REQUIRED: error_log PHP error log found.

error log:

Deprecated | implode(): Passing glue string after array is deprecated. Swap the parameters | wp-content/plugins/envato-theme-check-master/checks/filenames.php:43

Deprecated | implode(): Passing glue string after array is deprecated. Swap the parameters | wp-content/plugins/envato-theme-check-master/main.php:58

Warning (Suppressed) | opendir(/home/p316069/www/adkox.com/wp-content/plugins/Envato-Theme-Check): failed to open dir: No such file or directory | wp-admin/includes/plugin.php:296

- Can please fix it?

scottparry commented 4 years ago

If this is shown in Theme Check: REQUIRED: error_log PHP error log found. It's telling you to remove error_log from your theme directory.