WordPress.org

Ready to get started?Download WordPress

Forums

EasySMS
Fatal Error (3 posts)

  1. padraig.antrobus
    Member
    Posted 3 years ago #

    i get this fatal error upon publishing a post. i have not tried post dating it and seeing if it works that way but when i try to submit a post for immediate publishing i recieve this error

    Fatal error: Cannot use object of type stdClass as array in /(mysite)/wordpress/wp-content/plugins/easysms/post_publish.php on line 8

  2. Agnel Waghela
    Member
    Posted 2 years ago #

    Fatal error: Cannot use object of type stdClass as array in C:\xampp\htdocs\wp3.3beta2\wp-content\plugins\easysms\post_publish.php on line 8

    this is what i get when i try to publish a new post.
    have any idea, why i'm getting this?
    how to get rid of this..

  3. DanielChristian
    Member
    Posted 2 years ago #

    Easy fix guys...

    Locate the directory to open the post_publish.php file...

    (wp-content/plugins/easysms/post_publish.php)

    Go to line 8...

    Find:
    $title = stripslashes($the_post['Title']);

    Replace with:
    $title->$the_post;

    Save the file...

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags