Title: Error while generating
Last modified: January 20, 2022

---

# Error while generating

 *  Resolved [wpuzman](https://wordpress.org/support/users/wpuzman/)
 * (@wpuzman)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-while-generating/)
 * Hello. Here is the log:
 * `PHP Fatal error: Uncaught TypeError: unlink(): Argument #1 ($filename) must 
   be of type string, WP_Error given in /Users/user/Sites/theme/app/public/wp-content/
   plugins/fakerpress/src/FakerPress/Module/Attachment.php:67`

Viewing 1 replies (of 1 total)

 *  Plugin Author [Gustavo Bordoni](https://wordpress.org/support/users/bordoni/)
 * (@bordoni)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-while-generating/#post-15271145)
 * Hi [@wpuzman](https://wordpress.org/support/users/wpuzman/),
 * I’ve just resolved the issue on the GitHub Repository.
 * I will launch a new version of the plugin with that fix later this week still,
   probably on Friday or early next week Monday.
 * See the fix here:
    [https://github.com/bordoni/fakerpress/commit/93d8f9111cf30e2170a76b711ca3ad4242bce99d](https://github.com/bordoni/fakerpress/commit/93d8f9111cf30e2170a76b711ca3ad4242bce99d)
 * Best Regards,

Viewing 1 replies (of 1 total)

The topic ‘Error while generating’ is closed to new replies.

 * ![](https://ps.w.org/fakerpress/assets/icon.svg?rev=1846090)
 * [FakerPress](https://wordpress.org/plugins/fakerpress/)
 * [Support Threads](https://wordpress.org/support/plugin/fakerpress/)
 * [Active Topics](https://wordpress.org/support/plugin/fakerpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fakerpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fakerpress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Gustavo Bordoni](https://wordpress.org/support/users/bordoni/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/error-while-generating/#post-15271145)
 * Status: resolved