Skip to content

Warning: is_file() expects parameter 1 to be a valid path #10878

@webmak

Description

@webmak

Preconditions

  1. Ubuntu 16.04
  2. PHP 7.0.22

Steps to reproduce

  1. run module:enable or module:disable

Expected result

  1. do not expect any warnings

Actual result

  1. [Exception]
    Warning: is_file() expects parameter 1 to be a valid path, string given in
    /home/user/web/some_site.com/public_html/vendor/colinmollenhour/cache-backend
    -file/File.php on line 512

Additional

when try to debug found that exception is thought for this path /home/user/web/some_site.com/public_html/var/cache/mage--a/mage---966_CRON_LAST_SCHEDULE_GENERATE_ATDEFAULT

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions