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

Consider checking property existence. #111

Open
fumikito opened this issue Oct 18, 2022 · 0 comments
Open

Consider checking property existence. #111

fumikito opened this issue Oct 18, 2022 · 0 comments
Assignees
Labels

Comments

@fumikito
Copy link
Owner

https://github.com/fumikito/Gianism/blob/de9be092e7bc6bd810651a17057f8779234206a5/functions/twitter.php#L42

[18-Oct-2022 10:26:55 UTC] PHP Notice: Undefined property: stdClass::$errors	/var/www/vhosts/hametuha.com/wp-content/plugins/gianism/functions/twitter.php:42
gianism_update_twitter_status	/var/www/vhosts/hametuha.com/wp-content/themes/hametuha/hooks/social-share.php:70
{closure}	/var/www/vhosts/hametuha.com/wp-includes/class-wp-hook.php:303
WP_Hook->apply_filters	/var/www/vhosts/hametuha.com/wp-includes/class-wp-hook.php:327
WP_Hook->do_action	/var/www/vhosts/hametuha.com/wp-includes/plugin.php:470
do_action	/var/www/vhosts/hametuha.com/wp-includes/post.php:5098
wp_transition_post_status	/var/www/vhosts/hametuha.com/wp-includes/post.php:4368
wp_insert_post	/var/www/vhosts/hametuha.com/wp-includes/post.php:4570
wp_update_post	/var/www/vhosts/hametuha.com/wp-admin/includes/post.php:423
edit_post	/var/www/vhosts/hametuha.com/wp-admin/post.php:227
@fumikito fumikito added the bug label Oct 18, 2022
@fumikito fumikito self-assigned this Oct 18, 2022
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

1 participant