When I open backend of opencart it returns
Fatal error: Cannot redeclare ModelSaleCustomer::getNewsletterSubscribers() in
/home/eshopnsa/public_html/vqmod/vqcache/vq2-admin_model_sale_customer.php on line 515
I don't understand this. Please help me.
This error beacuse of any previous free version of newsletter by other developer installed on your store... reason: wither u have a vqmod from that module or done manuall changes in files... please remove the other vqmod u already had, and just use the mod xml supplied with this mod...or if u did manually changes in past for free newsletter module, replace original files or undo changes by that mod..
Related
After an automatic update to my WordPress installation, my website is display this error rather than loading.
Deprecated: File wp-db.php is deprecated since version 6.1.0! Use wp-includes/class-wpdb.php instead. in /home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/functions.php on line 5595
Warning: require(/home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/class-wp-dependencies.php): failed to open stream: No such file or directory in /home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/script-loader.php on line 23
Fatal error: require(): Failed opening required '/home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/class-wp-dependencies.php' (include_path='.:/usr/share/pear/') in /home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/script-loader.php on line 23
Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/functions.php on line 5835
Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/functions.php on line 5835
There has been a critical error on this website.
Can someone help me understand this error, and provide me a solution or some hints so that I can figure a fix for this.
I also had the same problem currently. So here's how I fixed it.
Go to your Website's App Installer > Wordpress > and find something like this
https://i.stack.imgur.com/xvhm0.png
Click the one in the blue box i drew at the right (Wordpress Manager)
Then, there you can update wordpress
Hope it helped!
i solved it just by updating all plugins, idk why it worked but you can give it a try.
I am working on a Joomla site, and just recently updated PHP to 7.2, but my site started throwing errors. I have also updated Joomla to the latest version, but errors still appear. I'm not good in PHP and don't know how to fix it.
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Color has a deprecated constructor in /public_html/templates/jf_social/features/color.php on line 11
Warning: require_once(/public_html/libraries/joomla/document/html/renderer/head.php): failed to open stream: No such file or directory in /public_html/templates/jf_social/error.php on line 52
Fatal error: require_once(): Failed opening required '/public_html/libraries/joomla/document/html/renderer/head.php' (include_path='.:/php:/opt/cpanel/ea-php73/root/usr/share/pear') in /public_html/templates/jf_social/error.php on line 52
I think error comes from my Joomla template, I am using this one https://www.joomforest.com/joomla/templates/jf-social
I can't receive support from that template developers, because my subscription is expired, and changing the template will take a lot of time for me,
can you please anyone advise how to fix it?
Thank you very much!
Try to delete the line 52
require_once(/public_html/libraries/joomla/document/html/renderer/head.php)
from the File
/public_html/templates/jf_social/error.php
The renderer/head.php doesnt be supported any more in your joomla version. If there are no more errors, everything is fine, if not your template is not supported any more.
Then go to the file
/public_html/templates/jf_social/features/color.php
and edit the line
function Color($hex){
to
function __construct($hex){
A Magento extension I installed has a line of code that leads into a fatal error.
I'm using Magento 1.8.0 and when I remove this line everything works like expected.
Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);
Can somebody please explain what this line of code does and why its needed in the extension.
After I commented this line out everything works fine and I couldn't find any kind of problem, but I'm a bit scarred that the problem will come up later.
Here is what the system log file throws:
2014-08-27T21:10:13+00:00 ERR (3): Warning: include(Mage/Default/Helper/Data.php): failed to open stream: No such file or directory in /homepages/11/d460572798/htdocs/magento/lib/Varien/Autoload.php on line 93
2014-08-27T21:10:13+00:00 ERR (3): Warning: include(): Failed opening 'Mage/Default/Helper/Data.php' for inclusion (include_path='/homepages/11/d460572798/htdocs/magento/app/code/local:/homepages/11/d460572798/htdocs/magento/app/code/community:/homepages/11/d460572798/htdocs/magento/app/code/core:/homepages/11/d460572798/htdocs/magento/lib:.:/usr/lib/php5.4') in /homepages/11/d460572798/htdocs/magento/lib/Varien/Autoload.php on line 93
I'm a complete newbie in programming of Magento.
The code is use to set current store that using by Magento
Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);
Magento uses store with id zero for admin side. Frontend may have any number of stores. So they don't have fixed store id. But admin side always has its store id zero and is fixed.
So the extension, due to some reason trying to use admin store forcefully. May be that line added in the extension during the development of the extension (for testing purpose). But not sure.
From the question, it is not sure where that code is using. So I cant say whether the code is essential or not. But if the problem solves when comment out that line and if there is no log errors present, you are good to go. Feel free to comment out that line.
The error that is showing in log errors are showing due to this line (A wild guess).
If you need more details, you need to ask this quesition to developers who created that extesnion :)
I recently uninstalled the plugin SEO Facebook Comments
Since then when I click on add new plugin I get this error,
Warning: require_once(D:\Dropbox\htdocs\bcu/wp-admin/includes/class-wp-plugin-install-list-table.php): failed to open stream: No such file or directory in D:\Dropbox\htdocs\bcu\wp-admin\includes\list-table.php on line 42
Fatal error: require_once(): Failed opening required 'D:\Dropbox\htdocs\bcu/wp-admin/includes/class-wp-plugin-install-list-table.php' (include_path='D:\Dropbox\htdocs\bcu\wp-content\plugins\google-analyticator\google-api-php-client\src;.;D:\xampp\php\PEAR') in D:\Dropbox\htdocs\bcu\wp-admin\includes\list-table.php on line 42
I've looked for this error on google and this site although I cannot seem to find anyone else with this error?
Can anyone help me get past this?
I understand it may be a explicit PHP error but I am not too sure on how to fix it,
The error is within another plugin that you have installed.
The second line shows the actual crash
Fatal error: require_once(): Failed opening required 'D:\Dropbox\htdocs\bcu/wp-admin/includes/class-wp-plugin-install-list-table.php' (include_path='D:\Dropbox\htdocs\bcu\wp-content\plugins\google-analyticator\google-api-php-client\src;.;D:\xampp\php\PEAR') in D:\Dropbox\htdocs\bcu\wp-admin\includes\list-table.php on line 42
The plugin is named google analyticator and there is a problem with getting data by the looks of things.
Try de-activating the plugin and seeing if you can then add plugins after.
If that is the problem, try uninstalling the plugin, downloading the latest version and then installing that. If there is still a problem with that plugin, then you will have to report it to the creators and look for an alternative.
I just updated Drupal core from 7.4 to 7.26. After running update.php site stopped working – both public and admin part. When I load it fatal error occurs:
Fatal error: Call to undefined function _system_default_theme_features() in /[drupal_path]/includes/theme.inc on line 1422
and when I reload it another fatal error apperars:
Fatal error: Call to a member function getDirectoryPath() on a non-object in /[drupal_path]/modules/image/image.module on line 83
next reload – first error, one more – second. Also, second error is loading much faster.
And one more thing, after applaying update.php I got one failed, I don't know if this is connected:
media_gallery module
Update #7009
Failed: FieldException: Próba aktualizacji egzemplarza nieistniejącego pola media_gallery_media. w field_update_instance() (linia 557 z /[drupal_path]/modules/field/field.crud.inc).
which is something like:
Failed: FieldException: Attempt to update an instance of a nonexistent field media_gallery_media. in field_update_instance() (line 557 in /[drupal_path]/modules/field/field.crud.inc).
PHP Version 5.5.6
Any tips where the problem is? I was trying disabling some modules from db, but this did't help.
It's difficult to explain the reason and to provide a solution.
My attempt would be to copy the DB and the files on a neutral platform (local machine or so) and experiment with the update.php script.
My suspicion would be that media module needs also update since it's using the old URI function definition (call). Also try to update other modules that are working with files.
The update is quite big since 7.4 to 7.22 (years of improvement). Reading the change log would be helpful but not realistic.
Did you also cleared the cache? (via drush if the web interface not working - /?q=admin/config/development/performance)
Please don't forget to post the solution if you find one for other users with the same issue.