Opened 6 years ago
Closed 6 years ago
#3987 closed defect (bug) (fixed)
Only require Slack's include files if they exists
Reported by: | RMarks | Owned by: | RMarks |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | WordCamp Site & Plugins | Keywords: | has-patch needs-testing |
Cc: |
Description
When on a local vvv environment, the following error is found:
Warning: require_once(/srv/www/wordpress-meta-environment/meta-repository/wordcamp.org/public_html/wp-content/mu-plugins/includes/slack/send.php): failed to open stream: No such file or directory in /srv/www/wordpress-meta-environment/meta-repository/wordcamp.org/public_html/wp-content/mu-plugins/0-slack.php on line 9
Plan is to only require if the file exists.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Using is_readable() vs file_exists()