Automattic / Automattic/eventbrite-api
plugins leads to error in another plugin
Open
- Dominant language
- PHP
- Stars
- 69
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
I one of my other plugins I have the following piece of code:
`if (isset($post) && 'attachment' == $post->post_type && ` - this leads to an error like `Notice: Undefined property: Eventbrite_Event::$post_type in /Users/Marco/Sites/sites/thinglogix.com/wp-content/plugins/pdfembedder-premium-secure/core/commercial_pdf_embedder.php`;
adding `$post->post_type = 'post'` to the single template fixes the issue?!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.