• This line in CatListDisplayer.php is creating a PHP error:
    foreach (scandir($templatePath) as $file) :

    Errors (note that I truncated my absolute server path below):

    PHP Warning: scandir(/wp-content/themes/persuasion/list-category-posts/) [function.scandir]: failed to open dir: No such file or directory in /wp-content/plugins/list-category-posts/include/CatListDisplayer.php on line 81
    [
    PHP Warning: scandir() [function.scandir]: (errno 2): No such file or directory in /wp-content/plugins/list-category-posts/include/CatListDisplayer.php on line 81

    PHP Warning: Invalid argument supplied for foreach() in /wp-content/plugins/list-category-posts/include/CatListDisplayer.php on line 81

    https://wordpress.org/plugins/list-category-posts/

Viewing 1 replies (of 1 total)
  • Plugin Author Fernando Briano

    (@fernandobt)

    I’ve addressed this issue, releasing an update soon. Please update the plugin as soon as the update is live and let me know if it’s fixed for you.

    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Line 81 creates a PHP error’ is closed to new replies.