WordPress.org

Support

Support » Themes and Templates » Error code in posts

Error code in posts

Viewing 15 replies - 1 through 15 (of 36 total)
  • Could anyone help me please? I’m still having some random codes on my posts. Thank you!

    paul.a.cunn

    @paulacunngmailcom

    What is the code supposed to be. Meaning is there something missing in the post that should be there in place of the code of is it just random code that you want removed?

    This is one of the codes:

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    a:7:{s:7:"primary";s:68:"http://lilinhaangel.files.wordpress.com/2013/04/visit-woods-logo.jpg";s:6:"images";a:5:{s:66:"http://lilinhaangel.files.wordpress.com/2013/04/poppy-cat-logo.jpg";a:6:{s:8:"file_url";s:66:"http://lilinhaangel.files.wordpress.com/2013/04/poppy-cat-logo.jpg";s:5:"width";i:945;s:6:"height";i:824;s:4:"type";s:5:"image";s:4:"area";i:778680;s:9:"file_path";b:0;}s:68:"http://lilinhaangel.files.wordpress.com/2013/04/visit-woods-logo.jpg";a:6:{s:8:"file_url";s:68:"http://lilinhaangel.files.wordpress.com/2013/04/visit-woods-logo.jpg";s:5:"width";i:4320;s:6:"height";i:1113;s:4:"type";s:5:"image";s:4:"area";i:4808160;s:9:"file_path";b:0;}s:75:"http://lilinhaangel.files.wordpress.com/2013/04/poppy-cat-mystery-trail.jpg";a:6:{s:8:"file_url";s:75:"http://lilinhaangel.files.wordpress.com/2013/04/poppy-cat-mystery-trail.jpg";s:5:"width";i:1134;s:6:"height";i:638;s:4:"type";s:5:"image";s:4:"area";i:723492;s:9:"file_path";b:0;}s:56:"http://lilinhaangel.files.wordpress.com/2013/04/0221.jpg";a:6:{s:8:"file_url";s:56:"http://lilinhaangel.files.wordpress.com/2013/04/0221.jpg";s:5:"width";i:1024;s:6:"height";i:1024;s:4:"type";s:5:"image";s:4:"area";i:1048576;s:9:"file_path";b:0;}s:56:"http://lilinhaangel.files.wordpress.com/2013/04/0231.jpg";a:6:{s:8:"file_url";s:56:"http://lilinhaangel.files.wordpress.com/2013/04/0231.jpg";s:5:"width";i:1024;s:6:"height";i:1024;s:4:"type";s:5:"image";s:4:"area";i:1048576;s:9:"file_path";b:0;}}s:6:"videos";a:0:{}s:11:"image_count";i:5;s:6:"author";s:8:"34299721";s:7:"blog_id";s:8:"34359653";s:9:"mod_stamp";s:19:"2013-04-17

    It is at the beginning of this post: http://lilinhaangel.com/2013/04/outdoor-adventure-campaign-by-poppy-cat-and-woodland-trust/

    I thought it referred to pictures, so I removed the pictures and added them back, but the code is still there!

    Basically it is just random code that you would like to be removed from the beginning of a few of my posts. They appeared once I moved my blog from wordpress.com to wordpress.org.

    paul.a.cunn

    @paulacunngmailcom

    Do you have some sort of “Custom Meta Data” widget or plugin activated on your site?

    Don’t think so, I just had a quick look and can’t find anything with that name… Am I loooking at the right place?

    paul.a.cunn

    @paulacunngmailcom

    Do those particular posts have a different layout than the other posts like are they marked as video or aside or anything like that?

    That code looks like it’s being pulled in from the database which was transferred in from your WordPress.com site.

    It most likely to do with the theme or a plugin you had active there which is now missing on the self-hosted maybe?

    No, they have exactly the same layout as other posts. They were all moved at the same time, but some have the error code, others don’t! so weird!

    I noticed that the code refers from pictures from wordpress.com, I removed those pictures and nothing.
    I tried changing the theme, deactivating all plugins, then applying the same theme again, but no success.

    paul.a.cunn

    @paulacunngmailcom

    Yeah its definitely something in a php file. Its hard to figure out which php is calling the meta data for the posts. There must be a function in one of the php files that is calling something from the wordpress database that is obviously not there anymore.

    Oh, so what should I do? How can I fix it? Any suggestions please?
    It’s weird that all posts were transferred the same way, but the error code only appears on some of them.

    esmi

    @esmi

    Forum Moderator

    Basically it is just random code

    That’s not random code, It’s serialized data from a database. Is this a wordpress.com site or a self-hosted WordPress install? If it’s the latter, did you import content from another wordpress.com site?

    Is the WordPress.com site still live? If so a link to it might help in pinpointing the problem.

    It is now a self-hosted WordPress, yes I imported all the content from wordpress.com

Viewing 15 replies - 1 through 15 (of 36 total)
  • The topic ‘Error code in posts’ is closed to new replies.