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

Support empty get_post_thumbnail_id() #2

Closed
crstauf opened this issue Apr 9, 2020 · 1 comment
Closed

Support empty get_post_thumbnail_id() #2

crstauf opened this issue Apr 9, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@crstauf
Copy link
Owner

crstauf commented Apr 9, 2020

[09-Apr-2020 16:26:17 UTC] PHP Warning:  Attachment <code>0</code> does not have the following sizes: <code>medium</code>, <code>medium_large</code>, <code>large</code>; using <code>full</code> image size. in /app/public/wp-content/plugins/image_tag/image_tags/Image_Tag_WP_Attachment.php on line 236
[09-Apr-2020 16:26:17 UTC] PHP Stack trace:
[09-Apr-2020 16:26:17 UTC] PHP   1. {main}() /app/public/index.php:0
[09-Apr-2020 16:26:17 UTC] PHP   2. require() /app/public/index.php:17
[09-Apr-2020 16:26:17 UTC] PHP   3. require_once() /app/public/wp-blog-header.php:19
[09-Apr-2020 16:26:17 UTC] PHP   4. include() /app/public/wp-includes/template-loader.php:106
[09-Apr-2020 16:26:17 UTC] PHP   5. get_template_part() /app/public/wp-content/themes/css-2015/archive.php:14
[09-Apr-2020 16:26:17 UTC] PHP   6. locate_template() /app/public/wp-includes/general-template.php:168
[09-Apr-2020 16:26:17 UTC] PHP   7. load_template() /app/public/wp-includes/template.php:672
[09-Apr-2020 16:26:17 UTC] PHP   8. require() /app/public/wp-includes/template.php:725
[09-Apr-2020 16:26:17 UTC] PHP   9. Image_Tag_WP_Attachment->placeholder() /app/public/wp-content/themes/css-2015/content.php:23
[09-Apr-2020 16:26:17 UTC] PHP  10. Image_Tag->placeholder() /app/public/wp-content/plugins/image_tag/image_tags/Image_Tag_WP_Attachment.php:385
[09-Apr-2020 16:26:17 UTC] PHP  11. Image_Tag_WP_Attachment->get_width() /app/public/wp-content/plugins/image_tag/Image_Tag.php:606
[09-Apr-2020 16:26:17 UTC] PHP  12. Image_Tag_WP_Attachment->get_versions() /app/public/wp-content/plugins/image_tag/image_tags/Image_Tag_WP_Attachment.php:171
[09-Apr-2020 16:26:17 UTC] PHP  13. trigger_error() /app/public/wp-content/plugins/image_tag/image_tags/Image_Tag_WP_Attachment.php:236
@crstauf crstauf added the bug Something isn't working label Apr 9, 2020
@crstauf crstauf self-assigned this Apr 9, 2020
@crstauf
Copy link
Owner Author

crstauf commented Apr 9, 2020

[09-Apr-2020 16:29:22 UTC] PHP Notice:  Undefined property: stdClass::$width in /app/public/wp-content/plugins/image_tag/image_tags/Image_Tag_WP_Attachment.php on line 222
[09-Apr-2020 16:29:22 UTC] PHP Stack trace:
[09-Apr-2020 16:29:22 UTC] PHP   1. {main}() /app/public/index.php:0
[09-Apr-2020 16:29:22 UTC] PHP   2. require() /app/public/index.php:17
[09-Apr-2020 16:29:22 UTC] PHP   3. require_once() /app/public/wp-blog-header.php:19
[09-Apr-2020 16:29:22 UTC] PHP   4. include() /app/public/wp-includes/template-loader.php:106
[09-Apr-2020 16:29:22 UTC] PHP   5. get_template_part() /app/public/wp-content/themes/css-2015/archive.php:14
[09-Apr-2020 16:29:22 UTC] PHP   6. locate_template() /app/public/wp-includes/general-template.php:168
[09-Apr-2020 16:29:22 UTC] PHP   7. load_template() /app/public/wp-includes/template.php:672
[09-Apr-2020 16:29:22 UTC] PHP   8. require() /app/public/wp-includes/template.php:725
[09-Apr-2020 16:29:22 UTC] PHP   9. Image_Tag::create() /app/public/wp-content/themes/css-2015/content.php:16
[09-Apr-2020 16:29:22 UTC] PHP  10. Image_Tag_WP_Attachment->__construct() /app/public/wp-content/plugins/image_tag/Image_Tag.php:60
[09-Apr-2020 16:29:22 UTC] PHP  11. Image_Tag_WP_Attachment->set_srcset() /app/public/wp-content/plugins/image_tag/image_tags/Image_Tag_WP_Attachment.php:53
[09-Apr-2020 16:29:22 UTC] PHP  12. Image_Tag_WP_Attachment->get_versions() /app/public/wp-content/plugins/image_tag/image_tags/Image_Tag_WP_Attachment.php:122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant