WordPress.org

Ready to get started?Download WordPress

Forums

illegal offset when calling image option (1 post)

  1. thebasharjobs
    Member
    Posted 1 year ago #

    Hey there,

    I'm having quite a time adding images to the database and calling them back as custom options.

    I keep getting an error that displays as illegal string offset['name'] that displays whenever I try to call back the option as an image.

    I know it's being added to the database as when I call back the option without the array signifier it returns accordingly.

    The tutorial I'm using is here.

    I'm using the same approach but whenever I try the call back the option I keep getting the php error. If I had more hair i'd pull it out but unfortunately i've increasingly less to spare.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.