Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Haven’t heard of this before, but if you get any specific info or errors, I will be glad to investigate and make any needed changes for a next version of the plugin. Thanks!

    Thread Starter Matija Erceg

    (@matijaerceg)

    The only way I’m able to reproduce this error is to submit 2 posts in close succession (but I’m not sure if that’s going to reproduce it for you).

    Submission 1: Image is attached to post (when viewed under Media), but NOT set as featured image

    Submission 2: Works perfectly (Image is attached to post and set as featured image)

    Re-submit Submission 1: Works Perfectly

    So, I know it’s not related to the JPGs themselves. Do you think there might be an issue with the shared hosting I’m on (bluehost)?

    Plugin Author Jeff Starr

    (@specialk)

    It could be hosting, plugins, the theme, or any other number of things involved.. it’s usually easier to begin with disabling plugins, using the default theme, and then work your way to testing the host..

    I am having this same issue.

    Plugin Author Jeff Starr

    (@specialk)

    Any error messages or anything? It’s difficult to just guess at it..

    I understand. I actually just figured out the issue and it seems to be working perfectly now. I believe a function I was using to hide the form from logged out users was interfering with attaching the image to posts (although as Matija Erceg said, it would attach the image sometimes but not others, which is a bit odd).

    The function I was using created a shortcode that I placed around the (ex. [members][user-submitted-posts][/member]) shortcode to hide from logged out users.

    I have simply deleted that function from my functions.php file and now simply use <?php if (is_user_logged_in() ) { //only logged in user can see this ?> <?php } ?> to hide from logged out visitors and it seems to be attaching image as featured every time now.

    This is such a wonderful plugin and the easiest one I have found for my purposes on my website. Thank you!

    Perhaps this information will help others experiencing this issue.

    Thread Starter Matija Erceg

    (@matijaerceg)

    I was not hiding the form or wrapping it in any additional shortcodes.
    If there was an error message, I would definitely post it.
    Jack, if you find that the issue persists, please post back, as I still have no leads on the cause..

    Plugin Author Jeff Starr

    (@specialk)

    Thanks Jack, glad you got it sorted.

    It would appear that I declared victory over this issue prematurely.

    It’s rather odd. It seems as though it is saving the posted content as some sort of cacge. A user can publish their post, which hasn’t attached the image as featured as the plugin is set to do, and there is no success message, although the text of the post has been published. Then, if they navigate to other pages and return to the page where I have the publishing form, their published content is till in the form. If I delete the cache in my browser, it then functions perfectly with the featured image being attached as it should.

    Deleted plugins, done what I can, now I’m a bit stuck. I’ll keep at it and let you all know if I find a solution 🙂

    – Jack

    Alright, I finally figured out that it was a conflict with the Jetpack plugin that was causing the sporadic issue. Do you have Jetpack installed, Matija?

    Thread Starter Matija Erceg

    (@matijaerceg)

    It was not activated (but it was installed) – so I don’t know how it could have interfered..

    @matija, Ah, well you may try deleting it from WordPress (as that erases saved data as well that deleting from ftp does not) and see if that corrects the problem.

    FYI I believe there is a conflict with images uploading as featured with the WP to Twitter plugin as well.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Images sporadically not being set as Featured Image’ is closed to new replies.