padraig.antrobus
Member
Posted 1 year 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
Agnel Waghela
Member
Posted 6 months 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..
DanielChristian
Member
Posted 4 months 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!