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

Not able to post/update new posts #339

Closed
chrisbergr opened this issue Nov 3, 2021 · 4 comments
Closed

Not able to post/update new posts #339

chrisbergr opened this issue Nov 3, 2021 · 4 comments

Comments

@chrisbergr
Copy link

chrisbergr commented Nov 3, 2021

Your current update don't let me post new stuff or edit existing ones anymore.

Fatal error:
Uncaught TypeError:
array_map(): Argument #2 ($array) must be of type array, null given in /.../wp-content/plugins/indieweb-post-kinds/includes/class-kind-metabox.php:433
Stack trace:
#0 /.../wp-content/plugins/indieweb-post-kinds/includes/class-kind-metabox.php(433):
array_map()
#1 /.../wp-includes/class-wp-hook.php(305): Kind_Metabox::save_post()
#2 /.../wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#3 /.../wp-includes/plugin.php(470): WP_Hook->do_action()
#4 /.../wp-includes/post.php(4468): do_action()
#5 /.../wp-includes/revision.php(334): wp_insert_post()
#6 /.../wp-includes/revision.php(190): _wp_put_post_revision()
#7 /.../wp-includes/class-wp-hook.php(305): wp_save_post_revision()
#8 /.../wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#9 /.../wp-includes/plugin.php(470): WP_Hook->do_action()
#10 /.../wp-includes/post.php(4442): do_action()
#11 /.../wp-includes/post.php(4570): wp_insert_post()
#12 /.../wp-admin/includes/post.php(423): wp_update_post()
#13 /.../wp-admin/post.php(227): edit_post()
#14 {main}

thrown in /.../wp-content/plugins/indieweb-post-kinds/includes/class-kind-metabox.php on line 433

@chrisbergr
Copy link
Author

is 'ifset' instead of 'isset' in this file legitimate?

@dshanske
Copy link
Owner

dshanske commented Nov 3, 2021

ifset is a function I created

@dshanske
Copy link
Owner

dshanske commented Nov 3, 2021

Will fix, a bit flummoxed last night m

@dshanske
Copy link
Owner

dshanske commented Nov 3, 2021

Should be fixed now.

@dshanske dshanske closed this as completed Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants