Hi guys I updated my WordPress (by mistake) to 4.7 and all the pages which were fetching data from db are messed up.
I can revert back to my original version but I want to continue working on wp 4.7 and fix this error....
upon googling this term p3pnexwpnas i found out that this happens
Kindly take a look at some of the errors Fatal error: Uncaught exception 'Exception' with message 'fetch - <b></b><br>---<br> Query: select * from wp_22v51hy4p7_revslider_settings' in /home/content/p3pnexwpnas09_data01/09/2724709/html/wp-content/plugins/revslider/inc_php/framework/functions.class.php:7 Stack trace: #0 /home/content/p3pnexwpnas09_data01/09/2724709/html/wp-content/plugins/revslider/inc_php/framework/db.class.php(22): UniteFunctionsRev::throwError('fetch - <b></b>...', -1) #1 /home/content/p3pnexwpnas09_data01/09/2724709/html/wp-content/plugins/revslider/inc_php/framework/db.class.php(36): UniteDBRev->throwError('fetch - <b></b>...') #2 /home/content/p3pnexwpnas09_data01/09/2724709/html/wp-content/plugins/revslider/inc_php/framework/db.class.php(127): UniteDBRev->checkForErrors('fetch') #3 /home/content/p3pnexwpnas09_data01/09/2724709/html/wp-content/plugins/revslider/inc_php/revslider_params.class.php(42): UniteDBRev->fetch('wp_22v51hy4p7_r...') #4 /home/content/p3pnexwpnas09_data01/09/2724709/html/wp-content/plugins/revslider/inc_php/revslider_op in /home/content/p3pnexwpnas09_data01/09/2724709/html/wp-content/plugins/revslider/inc_php/framework/functions.class.php on line 7
also this is an error on a different page:-
Notice: Constant DB_NAME already defined in /home/content/p3pnexwpnas09_data01/09/2724709/html/wp-config.php on line 23
Notice: Constant DB_USER already defined in /home/content/p3pnexwpnas09_data01/09/2724709/html/wp-config.php on line 26
Notice: Constant DB_PASSWORD already defined in /home/content/p3pnexwpnas09_data01/09/2724709/html/wp-config.php on line 29
Notice: Constant DB_HOST already defined in /home/content/p3pnexwpnas09_data01/09/2724709/html/wp-config.php on line 32
Notice: Constant DB_CHARSET already defined in /home/content/p3pnexwpnas09_data01/09/2724709/html/wp-config.php on line 35
any hint to solve this problem will be appreciated thanks.....
There is no error in Wordpress installation and database.
The problem is that there are some plugins which are not compatible with wordpress 4.7.
have a look at first error.
Fatal error: Uncaught exception 'Exception' with message 'fetch -
Query: select * from wp_22v51hy4p7_revslider_settings' in
/home/content/p3pnexwpnas09_data01/09/2724709/html/wp-content/plugins/revslider/inc_php/framework/functions.class.php:7
Stack trace: #0
It's because revslider plugin which is not compatible with your current version of wordpress that's why it's throwing fatal error. So if want to continue work on wordpress remove all the plugin which are not compatible with your wordpress version otherwise update it.
Finally found the answer....
So there were 2 problems
deprecated plugin error
Used include so it was loading the wp-config file twice
The old dev used include for including the wp-config that is the reason constant already defined was coming. I used require_once and this problem was solved.
Thanks for the plugin help guys....
Related
Fatal error: Uncaught Error: Call to undefined function wp() in /home/customer/www/monkinsider.com/public_html/wp-blog-header.php:16 Stack trace: #0 /home/customer/www/monkinsider.com/public_html/index.php(17): require() #1 {main} thrown in /home/customer/www/monkinsider.com/public_html/wp-blog-header.php on line 16
I don't know but since last week I am getting this error. My site is hosted on siteground and there are no updates from my side. Also, when I contacted them they said its Wordpress issue and they cant help. I tried to restore backup but only it works for 5 minutes after that error shows up again. Also, I referred to previous articles and everything seems fine the file wp-config and all. Also,I cannot even open my admin Wordpress panel.
That's a malware.
You should scan your server and restore wp-blog-header.php with a default one.
You can download a fresh version here: https://wordpress.org/download/releases/
You won't be able to restore the account until the malware is deleted
I had the same issue. In my case wp-load.php was empty for some reasons, not sure what caused it. I copied the files content from a different website and it fixed the issue.
I am making my forum!
I have sql database and everything that I need to publish to the web (domain etc.)
So after launching my forum to the web I am getting the following error when trying to open my forum:
Fatal error: Uncaught Error: Call to undefined function
mysql_connect() in /storage/ssd5/357/5453357/public_html/config.php:14
Stack trace: #0 /storage/ssd5/357/5453357/public_html/main.php(3):
include() #1 {main} thrown in
/storage/ssd5/357/5453357/public_html/config.php on line 14
I tried everything but nothing worked!
Maybe someone from here can answer my question...
How to fix this?
Try mysqli_connect() instead, ‘mysql’ is deprecated. This is the case for every mysql function, so make sure everything is updated to ‘mysqli’. Hope this helps
Can anyone help me out on this error. I am setup my existing website on my localdisk using xampp but i m getting this error.
Fatal error: Uncaught Error: Call to undefined function
get_currentuserinfo() in
C:\xampp\htdocs\wordpress\wp-content\plugins\google-analytics-for-wordpress\frontend\abstract-class-tracking.php:286
Stack trace: #0
C:\xampp\htdocs\wordpress\wp-content\plugins\google-analytics-for-wordpress\frontend\abstract-class-tracking.php(51):
Yoast_GA_Tracking->do_tracking() #1
C:\xampp\htdocs\wordpress\wp-content\plugins\google-analytics-for-wordpress\frontend\class-frontend.php(27):
Yoast_GA_Tracking->__construct() #2
C:\xampp\htdocs\wordpress\wp-content\plugins\google-analytics-for-wordpress\googleanalytics.php(52):
Yoast_GA_Frontend->__construct() #3
C:\xampp\htdocs\wordpress\wp-settings.php(305)
Probably an outdated plugin, Update your plugin or you can try wp_get_current_user() function instead.
Its not a good idea to change the plugin code, but you can check that function whether it fixes things up or not, better option is to update your plugin.
I have googled so much and tried everything but can't get behind this. A client installed an extension on TYPO3 and we get the following error message in the backend and frontend.
Strict Standards: Non-static method t3lib_div::getClassName() should not be called statically in /homepages/25/d322968656/htdocs/typo3_src-4.3.14/t3lib/class.t3lib_div.php on line 5033
Fatal error: Uncaught exception 't3lib_error_Exception' with message 'PHP Runtime Notice: Non-static method t3lib_div::getClassName() should not be called statically in /homepages/25/d322968656/htdocs/typo3_src-4.3.14/t3lib/class.t3lib_div.php line 5033' in /homepages/25/d322968656/htdocs/typo3_src-4.3.14/t3lib/error/class.t3lib_error_errorhandler.php:106 Stack trace: #0 /homepages/25/d322968656/htdocs/typo3_src-4.3.14/t3lib/class.t3lib_div.php(5033): t3lib_error_ErrorHandler->handleError(2048, 'Non-static meth...', '/homepages/25/d...', 5033, Array) #1 /homepages/25/d322968656/htdocs/typo3_src-4.3.14/t3lib/class.t3lib_div.php(5033): t3lib_div::getClassName() #2 /homepages/25/d322968656/htdocs/typo3_src-4.3.14/typo3/sysext/cms/tslib/index_ts.php(143): t3lib_div::makeInstance('t3lib_error_Pro...') #3 /homepages/25/d322968656/htdocs/typo3_src-4.3.14/index.php(80): require('/homepages/25/d...') #4 {main} thrown in /homepages/25/d322968656/htdocs/typo3_src-4.3.14/t3lib/error/class.t3lib_error_errorhandler.php on line 106
Trying to log into the install tool gives this error message
Fatal error: Class 'TYPO3\CMS\Extbase\Utility\ExtensionUtility' not found in /homepages/25/d322968656/htdocs/ravati/typo3/typo3conf/ext/ke_questionnaire/ext_localconf.php on line 6
Any ideas for a TYPO3 beginner? :(((
This looks like a PHP version related error. Which PHP version do you use? Beware that this ancient TYPO3 version only works with an ancient PHP version. :)
i presume your client tried to install ke_questionnaire and ignored all warnings. Make a copy of your /typo3conf/localconf.php, then open the original file and look for every appearence of ke_questionnaire and delete it. Be careful not to destroy the php syntax! Then delete every file which begins with "temp_cach ..." in /typo3conf/ and delete the folder /typo3conf/ke_questionnaire
The page should work now ...
BUT: your installation is old. I mean really old. There is no possibilty to install any extension from the TER anymore. Dont do this, it will kill your installation everytime. In addition: this version of TYPO3 is not save anymore, it is only a question of time that anybody will hack it.
Hello I am trying to migrate my site from one server to an other, Iive created a backup of all files and BD, uploaded to the new server, change the settings.inc.php with the new credentials and when I'm trying to access the site, Prestashop shows me the error.
Notice: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' in /home/admin/domains/bicimaya.mx/public_html/classes/Cookie.php on line 78 Notice: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' in /home/admin/domains/bicimaya.mx/public_html/classes/Cookie.php on line 78 Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /home/admin/domains/bicimaya.mx/public_html/cache/smarty/compile/28/b9/c8/wrt55881070719b54.86654395' in /home/admin/domains/bicimaya.mx/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /home/admin/domains/bicimaya.mx/public_html/tools/smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/home/admin/dom...', 'compileTemplateSource() #2 /home/admin/domains/bicimaya.mx/public_html/classes/module/Module.php(1623): Smarty_Internal_TemplateBase->fetch() #3 /home/admin/domains/bicimaya.mx/public_html/modules/favoriteproducts/favoriteproducts.php(105): ModuleCore->display('/home/admin/dom...', 'favoriteproduct...') #4 /home/admin/domains/bicimaya.mx/public_html/classes/Hook.php(421): FavoriteProducts- in /home/admin/domains/bicimaya.mx/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 44
Investigating on Prestashop forums I saw that I have to delete some directories such as /cache/smarty/cache and /cache/smarty/compile, but my project doesn't have this two directories. I hope anyone can help me to solve this error, thank you.
This module can help migrate from all version to other PrestaShop.
http://addons.prestashop.com/en/8934-migrationpro-migration-prestashop-to-prestashop.html