WordPress.org

Forums

AI Twitter Feeds (Twitter widget & shortcode)
[resolved] Fatal error: Cannot use object of type stdClass ? (11 posts)

  1. Chris
    Member
    Posted 1 year ago #

    Hi guys,

    I've recently been developing a new website for a client, and had the AI Twitter feed working to a tee only this morning. However I've checked it again and now I'm been told I have a 'Fatal error:

    Fatal error: Cannot use object of type stdClass as array in /home/springes/public_html/armstrongconstruction.co.uk/wordpress/wp-content/plugins/ai-twitter-feeds/ai-twitter-feeds.php on line 525

    I have the latest version of WordPress installed and the latest version of this plugin (2.0), so what could be the problem considering it was working this morning, and I definitely haven't touched it since?

    Regards,

    Chris.

    http://wordpress.org/plugins/ai-twitter-feeds/

  2. Chris
    Member
    Posted 1 year ago #

    Very strange....it appears to be working again now. :/

  3. August Infotech
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Chris,

    Thank you for using the plugin.

    Thanks & Regards,
    August Infotech

  4. vex soluciones
    Member
    Posted 1 year ago #

    Hello i am having the same problem

    Fatal error: Cannot use object of type stdClass as array in /home/destinos/public_html/wp-content/plugins/ai-twitter-feeds/ai-twitter-feeds.php on line 519

    this is the url
    http://destinosa1.com/america/peru/rio-amazonas/
    rio amazonas

    i configured use keywords instead username and i've added this code
    <?php do_shortcode("[AIGetTwitterFeeds ai_username='rio amazonas' ai_numberoftweets='20' ai_tweet_title='Twitter']"); ?>

    but i got that error message, any ideaS?

    thanks!!

  5. August Infotech
    Member
    Plugin Author

    Posted 1 year ago #

    Hello joxxxe,

    Thank you for using the plugin.

    Please provide error message so we have to check it.
    It may be something wrong with twitter user name.

    Thanks & Regards,
    August Infotech

  6. vex soluciones
    Member
    Posted 1 year ago #

    Hello thanks for reply, this is the error message

    Fatal error: Cannot use object of type stdClass as array in /home/destinos/public_html/wp-content/plugins/ai-twitter-feeds/ai-twitter-feeds.php on line 519

    thanks!

  7. August Infotech
    Member
    Plugin Author

    Posted 1 year ago #

    Hello joxxxe,

    <?php do_shortcode("[AIGetTwitterFeeds ai_username='rio amazonas' ai_numberoftweets='20' ai_tweet_title='Twitter']"); ?>

    please check your username in short code otherwise we have checked that there are not seen any fatal error when we get tweets. So please check once your username to get all tweets.

    If you have still any query regarding this then please tell us.

    Thanks & Regards,
    August Infotech

  8. vex soluciones
    Member
    Posted 1 year ago #

    Helllo, i tried to show a keyword instead a username, my keyword is the same than my post title

    can you please provide anyway to print the post title and use it as keyword please?

    <?php do_shortcode("[AIGetTwitterFeeds ai_keyword='POST_TITLE' ai_numberoftweets='20' ai_tweet_title='Twitter']"); ?>

    something like that, please advise i really need use this soon, thanks!

  9. August Infotech
    Member
    Plugin Author

    Posted 1 year ago #

    Hello joxxxe,

    Please Use below type of short codes to fetch tweets of particular username. We haven't ant functionality for fetch tweets using keywords.

    <? php do_shortcode("[AIGetTwitterFeeds ai_username='Your Twitter Name(Without the "@" symbol)' ai_numberoftweets='Number Of Tweets' ai_tweet_title='Your Title']"); ?>

    Thanks & Regards,
    August Infotech

  10. vex soluciones
    Member
    Posted 1 year ago #

    hello, can you please add search by keyword functionality please? so we can show tweets of a search based on a keyword predefined,

    and an option to use the current title of the post

    will be really helpful options and will make your script better than never!

    please let me know when is possible, i could donate some money to help to make it possible

    really thanks!

  11. August Infotech
    Member
    Plugin Author

    Posted 1 year ago #

    Hello joxxxe,

    Thanks for your suggestions and we will update our plugin as suggested by you ASAP.

    Thanks & Regards,
    August Infotech

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic