fishpig wordpress integration in magento not working - Fatal error - php

I have installed and configure my wordpress in my magento site using Fishpig extension.
In magento admin, the configuration of Fishpig extension shows perfect.
But when I am running the wordpress route in frondend, it is showing Fatal error and not displaying wordpress content anymore.
Attaching the screenshot of that page. And the error I got is:
Fatal error: Call to undefined method Mage::getResourceHelper() in /[MY_DIR_PATH]/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php on line 534
Any help is appreciated.

This was fixed by upgrading to the latest version (3.0.0.16 at the time of writing).

Related

Call to undefined method WP_Textdomain_Registry::reset()

My Wordpress site is broken and only shows this error message:
Fatal error: Uncaught Error: Call to undefined method WP_Textdomain_Registry::reset() in /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:139
Stack trace:
#0 /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(119): WPML\ST\MO\Hooks\LanguageSwitch->resetTranslationAvailabilityInformation()
#1 /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(73): WPML\ST\MO\Hooks\LanguageSwitch->changeMoObjects('view-subscripti...')
#2 /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/TranslateWpmlString.php(167): WPML\ST\MO\Hooks\LanguageSwitch->switchToLocale('view-subscripti...')
#3 /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/TranslateWpmlString.php(109): WPML\ST\Trans in /var/www/htdocs/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php on line 139
I can only access the site after adding ".disabled" to the plugin folder (wpml-string-translation) name but this disables the plugin and the site needs it to work.
It is a problem that is occurring with the update to wordpress 6.1.
To fix it you need to update WPML to 4.5.12 and String Translation to 3.2.3
Source: https://wpml.org/changelog/2022/10/wpml-4-5-12-updates-for-wordpress-6-1/
-- Edit:
After downloading the two updated plugins, rename the two folders related to the plugins and install the updated versions to solve the problem
I just removed string 139. Everything is working at the moment
Had the same issue today.
This issue is due to none updated version of WPML and compatibility with 6.1 WordPress. Since WPML website is today down and you can not download the plugin.
There is github repository:
https://github.com/youssef-lmw/wpml-string-translation
Download this version of the plugin
List item replaces current one in wpml-string-translation folder
I downloaded https://github.com/youssef-lmw/wpml-string-translation/archive/refs/heads/main.zip an remplace wpml-string-translation folder in wp-content/plugins/wpml-string-translation and fixed problem.
WPML String Translation for Wordpress 6.1
FIX error: Fatal error: Uncaught Error: Call to undefined method WP_Textdomain_Registry::reset()
While the WPML.org site is down, you can downgrade WordPress itself to version 6.0, either

Getting a 500 error when I try to login to the Magento 2 admin panel

Currently trying to login to the Magento backend panel (version 2.2.7) but whenever I try to access the admin panel, I'm getting an error reading:
This page isn’t working www.websitename.com is currently unable to
handle this request.
HTTP ERROR 500
I've looked in the logs and there seems to be the following Apache error in them.
Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a
member function getNext() on null in
/var/www/vhosts/websitename.com/httpdocs/generated/code/Magento/User/Model/User/Interceptor.php:529\nStack
trace:\n#0
/var/www/vhosts/websitename.com/httpdocs/vendor/magento/module-backend/Model/Locale/Manager.php(96):
Magento\User\Model\User\Interceptor->getInterfaceLocale()\n#1
/var/www/vhosts/websitename.com/httpdocs/vendor/magento/module-backend/Model/Locale/Resolver.php(77):
Magento\Backend\Model\Locale\Manager->getUserInterfaceLocale()\n#2
/var/www/vhosts/websitename.com/httpdocs/vendor/magento/framework/Locale/Resolver.php(65):
Magento\Backend\Model\Locale\Resolver->setLocale(NULL)\n#3
/var/www/vhosts/websitename.com/httpdocs/vendor/magento/module-backend/Model/Locale/Resolver.php(60):
Magento\Framework\Locale\Resolver->__construct(Object(Magento\Framework\App\Config\Interceptor),
'general/locale/...', 'store', NULL)\n#4
/var/www/vhosts/websitename.com/httpdocs/vendor/magento/framework/ObjectManager/Factory/Abst...\n'
Can anyone suggest a way to resolve this as I cannot currently get into the backend of My site.
It seems that this was being caused by a vendor extenion called "Moogento Pickpack". Disabling this extension seems to have caused the issue to stop for the moment.
I will get in touch with the extension vendor and try to find out exactly what was causing the problem.
Update:
We have now updated Moogento Pickpack to a new version and upgraded to Magento 2.3.2. The error here is no longer occuring.

WP MashShare Plugin breaks my site when enabled

When I activate the Mashshare plugin, it gives me the following error when browsing the website like below:
Fatal error: Class ‘WPChromePHP’ not found in D:\home\site\wwwroot\wp-content\plugins\mashsharer\includes\debug\classes\MashDebug.class.php on line 238
I’m using the Mashshare plugin on my website running on WordPress 4.7.5, PHP 5.6, hosted in Azure Webapps.
Anyone have faced it before or knows how to fix?

Fatal Error on Wordpress: Call to undefined function wp() in wp-blog-header.php

I updated Wordpress to 4.2 this morning, and now I can't access my Wordpress site, gteam.org.
I've searched the Wordpress help forum, but to no avail.
Thoughts or help:
Fatal error: Call to undefined function wp() in /home/team1874/public_html/wp-blog-header.php on line 14
I got the same error, problem was my wp-config.php file was somehow empty, just copied the example wp-config and added my configuration and it worked again.
I met the same problem this morning when trying to install wordpress v4.9.4 . The most likely reason is that the file which declared function wp() is somehow damaged. I solved it reload a new package and installed.
references:
https://wordpress.org/support/topic-tag/fatal-error-call-to-undefined-function-wp/

Magento 'Mage_Ecommerceteam_Cloudzoom'

i create magento wbsite and then the site is upload online then error occur that site is run proper in local server
Fatal error: Class 'Mage_Ecommerceteam_Cloudzoom_Helper_Data' not found in /home/ebiz/public_html/prjt/adamas/app/Mage.php on line 546
you are problem into the zooming extension into your theme please install this extension.
http://www.magentocommerce.com/magento-connect/cueblocks-zoom.html

Categories