PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02] - php

how to fix this issue
[09-Nov-2022 23:37:10 Asia/Tehran] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'Ecko_acpbot.message_log' doesn't exist in ******/inc/database.class.php:36
Stack trace:
#0 ******/inc/database.class.php(36): PDOStatement->execute()
#1 ******/inc/message.class.php(56): Database->execute()
#2 ******/index.php(8): Message->GetLast5Messages()
#3 {main}
thrown in ******/inc/database.class.php on line 36
i try to use this CPTelegram from github
so how to fix this one

Related

I have problem in eikra after update it give this problem

Fatal error: Uncaught Error: Class 'RDTheme' not found in /home/bkucedup/public_html/staging/wp-content/themes/eikra/page.php:9 Stack trace: #0 /home/bkucedup/public_html/staging/wp-includes/template-loader.php(106): include() #1 /home/bkucedup/public_html/staging/wp-blog-header.php(19): require_once('/home/bkucedup/...') #2 /home/bkucedup/public_html/staging/index.php(17): require('/home/bkucedup/...') #3 {main} thrown in /home/bkucedup/public_html/staging/wp-content/themes/eikra/page.php on line 9
Fatal error: Uncaught Error: Class 'RDTheme' not found in /home/bkucedup/public_html/staging/wp-content/themes/eikra/page.php:9 Stack trace: #0 /home/bkucedup/public_html/staging/wp-includes/template-loader.php(106): include() #1 /home/bkucedup/public_html/staging/wp-blog-header.php(19): require_once('/home/bkucedup/...') #2 /home/bkucedup/public_html/staging/index.php(17): require('/home/bkucedup/...') #3 {main} thrown in /home/bkucedup/public_html/staging/wp-content/themes/eikra/page.php on line 9

PHP Fatal error: Uncaught Error: Class 'Google\Ads\GoogleAds\Examples\Utils\ArgumentParser' not found in

I'm trying to use google_ads_api to generate keywords idea.
I found an error when I execute generateKeywordsIdeas.php file.
PS C:\xampp\htdocs\google_ads_api> php GenerateKeywordIdeas.php
PHP Fatal error: Uncaught Error: Class 'Google\Ads\GoogleAds\Examples\Utils\ArgumentParser' not found in C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php:67
Stack trace:
#0 C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php(212): Google\Ads\GoogleAds\Examples\Planning\GenerateKeywordIdeas::main()
#1 {main}
thrown in C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php on line 67
Fatal error: Uncaught Error: Class 'Google\Ads\GoogleAds\Examples\Utils\ArgumentParser' not found in C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php:67
Stack trace:
#0 C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php(212): Google\Ads\GoogleAds\Examples\Planning\GenerateKeywordIdeas::main()
#1 {main}
thrown in C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php on line 67
Here is file structure of my project
Why this error happens..? can anybody explain..?
Sounds like your missing required files from the 'examples' directory? They're excluded from the ZIP when you download the package from github. You can grab them here:
https://downgit.github.io/#/home?url=https://github.com/googleads/google-ads-php/tree/master/examples

Fatal error: Uncaught Error: Call to undefined function get_post_datetime()

When I try to open article it shows the following error:
Fatal error: Uncaught Error: Call to undefined function get_post_datetime() in C:\xampp\htdocs\wp-content\plugins\td-cloud-library\state\single\tdb_state_single.php:1666 Stack trace:
#0 C:\xampp\htdocs\wp-content\plugins\td-cloud-library\wp_templates\tdb_view_single.php(89): tdb_state_single->{closure}()
#1 C:\xampp\htdocs\wp-content\plugins\td-cloud-library\wp_templates\tdb_view_single.php(89): Closure->__invoke()
#2 C:\xampp\htdocs\wp-includes\template-loader.php(78): include('C:\\xampp\\htdocs...')
#3 C:\xampp\htdocs\wp-blog-header.php(19): require_once('C:\\xampp\\htdocs...')
#4 C:\xampp\htdocs\index.php(17): require('C:\\xampp\\htdocs...')
#5 {main} thrown in C:\xampp\htdocs\wp-content\plugins\td-cloud-library\state\single\tdb_state_single.php on line 1666
Anyone know the issue?
get_post_datetime() was introduced in WordPress version 5.3. You need to update to that version in order to correct the error you are seeing.
https://make.wordpress.org/core/2019/09/23/date-time-improvements-wp-5-3/

Invalid Parameter – yii\base\InvalidParamException The file or directory to be published does not exist: /frontend/web

Moved the site from one server to another with postgresql database. Db has been connected. Then I used this command:
composer install
While loading the site, yii debugger shows an error
What is more, composer update shows many errors in console:
PHP Fatal error: Uncaught Error: Call to undefined method Composer\Package\RootPackage::getConfig() in /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php:111
Stack trace:
#0 /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php(74): Fxp\Composer\AssetPlugin\Config\ConfigBuilder::getConfigBase(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#1 /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/FxpAssetPlugin.php(82): Fxp\Composer\AssetPlugin\Config\ConfigBuilder::build(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#2 /usr/share/php/Composer/Plugin/PluginManager.php(215): Fxp\Composer\AssetPlugin\FxpAssetPlugin->activate(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#3 /usr/share/php/Composer/Plugin/PluginManager.php(188): Composer\Plugin\PluginManager->addPlugin(Object(Fxp\Composer\AssetPlugin\FxpAssetPlugin))
#4 /usr/share/php/Composer/Installer/PluginInstaller.php(62): Composer\Pl in /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php on line 111
Fatal error: Uncaught Error: Call to undefined method Composer\Package\RootPackage::getConfig() in /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php:111
Stack trace:
#0 /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php(74): Fxp\Composer\AssetPlugin\Config\ConfigBuilder::getConfigBase(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#1 /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/FxpAssetPlugin.php(82): Fxp\Composer\AssetPlugin\Config\ConfigBuilder::build(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#2 /usr/share/php/Composer/Plugin/PluginManager.php(215): Fxp\Composer\AssetPlugin\FxpAssetPlugin->activate(Object(Composer\Composer), Object(Composer\IO\ConsoleIO))
#3 /usr/share/php/Composer/Plugin/PluginManager.php(188): Composer\Plugin\PluginManager->addPlugin(Object(Fxp\Composer\AssetPlugin\FxpAssetPlugin))
#4 /usr/share/php/Composer/Installer/PluginInstaller.php(62): Composer\Pl in /var/www/907-irbis/data/www/site.ru/vendor/fxp/composer-asset-plugin/Config/ConfigBuilder.php on line 111

Fatal error: Uncaught exception 'Mage_Core_Exception'

I have a brand new Magento shop and want to go online but I'm getting this error very often:
Fatal error: Uncaught exception 'Mage_Core_Exception' with message '
is not a directory or not readable by this user' in
/home/pimpjep/public_html/app/Mage.php:594 Stack trace: #0
/home/pimpjep/public_html/app/Mage.php(278): Mage::throwException(' is
not a direc...') #1 /home/pimpjep/public_html/app/Mage.php(752):
Mage::setRoot() #2 /home/pimpjep/public_html/app/Mage.php(692):
Mage::isInstalled() #3 /home/pimpjep/public_html/index.php(89):
Mage::run('pimpjephone') #4 {main} thrown in
/home/pimpjep/public_html/app/Mage.php on line 594
How do I get rid of it?

Categories