Title: Perepandel's Replies | WordPress.org

---

# Perepandel

  [  ](https://wordpress.org/support/users/perepandel/)

 *   [Profile](https://wordpress.org/support/users/perepandel/)
 *   [Topics Started](https://wordpress.org/support/users/perepandel/topics/)
 *   [Replies Created](https://wordpress.org/support/users/perepandel/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/perepandel/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/perepandel/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/perepandel/engagements/)
 *   [Favorites](https://wordpress.org/support/users/perepandel/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Auto Featured Image] Dont work with 3.4 and 3.5](https://wordpress.org/support/topic/dont-work-with-34-and-35/)
 *  [Perepandel](https://wordpress.org/support/users/perepandel/)
 * (@perepandel)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/dont-work-with-34-and-35/#post-3349527)
 * I am trying to use this plugin but haven’t been able to get it works.
 * I’m using WP 3.5. I already had to replace some “<?” tags with “<?php” in the
   source code because my server don’t accept the old style ones and I’m trying 
   to debug the problem. The strange thing is that the thumbnails are actually being
   generated! Put a link to a Vimeo video in a post without a featured image and
   update it. You apparently still don’t have a featured image. But if you click
   in the “Set featured image” link, a window opens, showing a gallery with a collection
   of thumbnails corresponding to the attached images you have already uploaded 
   to your blog… and the auto-generated one for your post is there!!
 * Now to strange thing: try to select it. You can update Title, Caption, Alt Text
   and Description. Click on “Set featured image”… and it will ignore it. You see
   again your “Edit post” screen and there is no Featured image. Try to do the same
   again, this time with another image you uploaded previously by hand: it will 
   work flawlessly!
 * Another strange behaviour with the auto-generated images: click on it to select
   it; you’ll have it on the right side of the window. Insted on clicking in “Set
   featured image”, click on “Edit image” in the “Attachment details” section. It
   will take you to the “Edit Media” screen. There again you have almost everything
   about the image… but the image itself! You can change name, caption, alternative
   text, description, see when the file was uploaded, see the file URL, the file
   name, file type and dimensions. Everything seems right! The file URL corresponds
   to what I see in the file system: it is there, and there it has no strange permissions
   or whatever – I can read it without problems with my user account both in my 
   Windows and Linux server.
 * Finally, the last odd thing: go to Media Library. You’ll see a list of your existing
   media, with its corresponding thumbnail. Where, the autogenerated images “are”
   there! Again, without the image itself. There is its title, its file, the upload
   date… you can see it is unattached… and the icon has been replaced by a wp-includes/
   images/crystal/default.png image. You can select to attach it to a post from 
   there. It will say it’s attached, but again… you go to the “Edit post” screen
   and there isn’t any featured image there.
 * According to the WordPress Function Reference, it looks to me like the plugin
   is doing properly what it needs to be done to generate and attach a file to a
   post properly: it constructs the attachment array, then uses wp_insert_attachment
   and wp_update_attachment_metadata, with the right parameters. But it seems like
   there’s something missing. Is this is a bug of the plugins or a WordPress one?
   Have there changed something and it’s not reflected in the docs?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Facebook plugin] Fatal Error](https://wordpress.org/support/topic/facebook-plugin-fatal-error/)
 *  [Perepandel](https://wordpress.org/support/users/perepandel/)
 * (@perepandel)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/facebook-plugin-fatal-error/#post-2821607)
 * [@desisliva](https://wordpress.org/support/users/desisliva/)
 * Did you read the entire thread? You could had gotten both your site and the plugin
   working if you simply did what [@anibal](https://wordpress.org/support/users/anibal/).
   aguila told: edit a few lines in wp-content/plugins/facebook/includes/facebook-
   php-sdk/base_facebook.php. Much cleaner, much easier. To edit a file you just
   have to download it by FTP, then open it in you favorite editor in your computer
   then upload it again. Or edit it directly in your hosting if you know how to 
   connect through SSH.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Facebook plugin] Fatal Error](https://wordpress.org/support/topic/facebook-plugin-fatal-error/)
 *  [Perepandel](https://wordpress.org/support/users/perepandel/)
 * (@perepandel)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/facebook-plugin-fatal-error/#post-2821583)
 * Both things 😉
 * Mainly I came here searching for help, since I had the “Fatal error” problem.
 * I was near to solve it by myself; I outputed the value of $code and $msg, noticed
   the 1st was a string and looked at the documentation of the Exception class in
   PHP but didn’t realized it was expecting an int; insted, I assumed the error 
   was at Facebook’s server (that’s what “http_failure” suggested me).
 * Then suddenly I read anibal.aguila solution and realized it was much easier than
   I thought, which I confirmed after reading the explanation in the link he posted.
 * So Jan, I wanted to thank him and confirm his answer was right and give him the
   credit he deserves.
 * To me, the final result proves he came to post in the right place 🙂
 * Also wanted to advice jmunchbach that he could haved saved a lot of work!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Facebook plugin] Fatal Error](https://wordpress.org/support/topic/facebook-plugin-fatal-error/)
 *  [Perepandel](https://wordpress.org/support/users/perepandel/)
 * (@perepandel)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/facebook-plugin-fatal-error/#post-2821580)
 * I registered just to post in this thread.
 * 1st of all, just to clarify: [@jmunchbach](https://wordpress.org/support/users/jmunchbach/),
   just because you cannot access anything on your site, the solution is what anibal.
   aguila proposed: just fixing some lines of code, exactly in the file
    /wp-content/
   plugins/facebook/includes/facebook-php-sdk/base_facebook.php, line 54 Please 
   note your solution took 4 tedious steps and it just made your WP site work again,
   but it didn’t solve the bug in the Facebook plugin. Instead of that amount of
   work, you just would have need to edit one single file and upload it by FTP (
   or edit it directly through SSH) – both site and plugin would had beed working
   after some seconds.
 * About the “interrumping the thread” matter: Jan, please tell us why this is not
   the correct place to put our comments on this question. After more than 15 years
   using the Internet and posting on forums, I think I know how to use them and,
   to my understanding, it’s nonsense to start a new thread each time a user has
   the same problem as another one (actually THAT would be a reason to complain).
   That being said, anibal.aguila, jmunchbach and myself did the correct: they commented
   on the matter and contributed to solve it.

Viewing 4 replies - 1 through 4 (of 4 total)