• Resolved fonsos

    (@fonsos)


    I got an error, type E_ERROR in the line 75 of the /wp-content/plugins/wp-instagram-post/vendor/mgp25/instagram-php/src/Settings/Storage/Components/PDOStorage.php file.

    Error message:
    Uncaught InstagramAPI\Exception\SettingsException: MySQL Connection Failed: SQLSTATE[HY000] [2005] Unknown MySQL server host ‘[MY-HOST]’ (2) in /wp-content/plugins/wp-instagram-post/vendor/mgp25/instagram-php/src/Settings/Storage/Components/PDOStorage.php:75

    Stack trace:
    #0 /wp-content/plugins/wp-instagram-post/vendor/mgp25/instagram-php/src/Settings/StorageHandler.php(142): InstagramAPI\Settings\Storage\Components\PDOStorage->openLocation(Array)
    #1 /wp-content/plugins/wp-instagram-post/vendor/mgp25/instagram-php/src/Settings/Factory.php(202): InstagramAPI\Settings\StorageHandler->__construct(Object(InstagramAPI\Settings\Storage\MySQL), Array, Array)
    #2 /wp-content/plugins/wp-instagram-post/vendor/mgp25/instagram-php/src/Instagram.php(309): InstagramAPI\Settings\Factory::

    Where [MY-HOST] indicate my host direction

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author qsheeraz

    (@qsheeraz)

    well according to message Unknown MySQL server host ‘[MY-HOST]’ Connection not finding your MySQL server host. Please check your host name.

    Are you working at localhost? or at live site? What is your PHP version? Please note that plugin requires PHP version 5.6+

    Let us know to help you more.

    Regards

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @fonsos I have removed your review and flagged your account for moderation. Please do not abuse the review section like that. If you need support then this is the place to do that.

    Thread Starter fonsos

    (@fonsos)

    @qsheeraz I’m working on a live site.
    I have WordPress 5.3, with PHP 7.2.22

    @jdembowski Yes, I posted a negative review because the similar cases were not provided with support so I was not able to solve the problem. I am one of those who change the reviews after being helped.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    If you try to strong arm or extort support again in the reviews then your account may be banned here.

    Don’t repeat that again. Feedback is valuable but extorting anything on this site is dealt with when found.

    Thread Starter fonsos

    (@fonsos)

    Thanks @jdembowski, was my first time in a long time here at the forums, I’ll have that in mind for the next time.

    Plugin Author qsheeraz

    (@qsheeraz)

    @fonsos OK but what about “[MY-HOST]”? Did you check if it exists? Its simply not found.
    And you said “Where [MY-HOST] indicate my host direction”. Did you change its value? Can you please tell what is its value?

    Well whatever the reason your HOST not found, the best we can do to provide you a file based method to connect. It will not use your DB or HOST. But you need to check your host for any future inconvenience.

    Or if you can wait, we will add this as optional in our next release.

    Regards

    Thread Starter fonsos

    (@fonsos)

    [MY-HOST] is what I put here so I don’t share it because of security issues.

    I called my host provider and they told me there was no issue with that direction, it was ok and should work fine.

    I’ll wait for the next release, thanks.

    If with the next release I still have problems I’ll contact my host provider again.

    Thanks

    Plugin Author qsheeraz

    (@qsheeraz)

    @fonsos

    We updated the plugin with option to choose file based or db based connection. You can select file based method to ignore db connections.
    You can download it from here.
    https://downloads.wp.xz.cn/plugin/wp-instagram-post.1.6.zip

    Not released yet. That’s why you have to manually download it and install. It has many other new features.

    Regards

    Thread Starter fonsos

    (@fonsos)

    @qsheeraz I have installed it and the logins page works, now after completing the challenge I have another critical error.
    I have deleted all settings when deactivating the pluging and now it works, I have my Instagram account linked.

    I have test publishing a post and and everything works fine.

    Thank you for your help.

    • This reply was modified 6 years, 5 months ago by fonsos.
    • This reply was modified 6 years, 5 months ago by fonsos.
    Plugin Author qsheeraz

    (@qsheeraz)

    That’s great 🙂

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Critical error’ is closed to new replies.