Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error #7

Open
darealsoapbox opened this issue Nov 15, 2021 · 0 comments
Open

Fatal error #7

darealsoapbox opened this issue Nov 15, 2021 · 0 comments
Assignees
Labels

Comments

@darealsoapbox
Copy link

J'ai installé le plug-in sur larghetto.celyan.fr, j'ai ajouté les boutons "Export CSV" sur les CPT qui m'intéressent, mais quand je clique dessus j'ai une fatal error :

Fatal error: Uncaught Error: Object of class WP_Post could not be converted to string in /home/www/larghetto.celyan.com/wp-content/plugins/export-wordpress-posts-and-fields-to-csv-master/inc/main.php:590 Stack trace: #0 /home/www/larghetto.celyan.com/wp-content/plugins/export-wordpress-posts-and-fields-to-csv-master/inc/main.php(590): str_replace() #1 /home/www/larghetto.celyan.com/wp-content/plugins/export-wordpress-posts-and-fields-to-csv-master/inc/main.php(235): wpExportPFCSV->export() #2 /home/www/larghetto.celyan.com/wp-includes/class-wp-hook.php(303): wpExportPFCSV->hijack() #3 /home/www/larghetto.celyan.com/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #4 /home/www/larghetto.celyan.com/wp-includes/plugin.php(470): WP_Hook->do_action() #5 /home/www/larghetto.celyan.com/wp-admin/admin.php(175): do_action() #6 {main} thrown in /home/www/larghetto.celyan.com/wp-content/plugins/export-wordpress-posts-and-fields-to-csv-master/inc/main.php on line 590

Yann : Il y a un des champs ACF qui est configuré pour stocker un objet post et c'est ça qui casse
Le fait que le plugin essaye de faire un str_replace sans vérifier si un champ contient bien une chaine de toute façon c'est un bug du plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants