bordoni / fakerpress

A WordPress plugin that implements an easy way to create fake data inside WordPress.
http://fakerpress.com
Other
338 stars 54 forks source link

Unknown formatter "post_excerptArray" #146

Closed pattisahusiwa closed 2 years ago

pattisahusiwa commented 3 years ago

As mentioned in #145, there is a bug in https://github.com/bordoni/fakerpress/blob/c1cd06410289daf8cfbdbc8439e905416d607a80/src/FakerPress/Module/Post.php#L180

Fatal error: Uncaught Exception: Unknown formatter "post_excerptArray"
in **/fakerpress/vendor/fakerphp/faker/src/Faker/Generator.php on line 248

Call stack:

Faker\Generator::getFormatter()
**/fakerpress/vendor/fakerphp/faker/src/Faker/Generator.php:228
Faker\Generator::format()
**/fakerpress/vendor/fakerphp/faker/src/Faker/Generator.php:285
Faker\Generator::__call()
call_user_func_array()
**/fakerpress/src/FakerPress/Module/Base.php:214
FakerPress\M\Base::apply()
**/fakerpress/src/FakerPress/Module/Base.php:191
FakerPress\M\Base::generate()
**/fakerpress/src/FakerPress/Module/Post.php:187
FakerPress\M\Post::parse_request()
**/fakerpress/src/FakerPress/Ajax.php:76
FakerPress\Ajax::module_generate()
wp-includes/class-wp-hook.php:292
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:316
WP_Hook::do_action()
wp-includes/plugin.php:484
do_action()
wp-admin/admin-ajax.php:187
bordoni commented 2 years ago

Resolved, will release soon. (next 10 days)