Advertisement
Guest User

Untitled

a guest
Jun 21st, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. PHP Warning: fgets() expects parameter 1 to be resource, string given in MYFILEPATH on line 10
  2. PHP Warning: array_map(): Argument #2 should be an array in MYPATH on line 11
  3. PHP Warning: implode(): Invalid arguments passed in MYPATH erquest2 on line 11
  4.  
  5. Lines 10 and 11:
  6.  
  7. `code`$file = fgets('manualremove.txt', FILE_IGNORE_NEW_LINES);
  8. $manualRemovePattern = "/(?:" . implode("|", array_map(function($i) {return preg_quote(trim($i), "/");}, $file)) . ')/';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement