cakephp media plugin Fatal error: Call to undefined method Folder::ls() - php

hi i am using cakephp media plugin and i got this error when i want to delete a file..
cakephp media plugin Fatal error: Call to undefined method Folder::ls()
any help?
TIA :D

I guess the version of the media plugin you use is not compatible with the CakePHP version you use because Folder::ls has been removed in CakePHP 1.3.x. Hence I would check whether there is a newer version of the media plugin available.

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

FatalErrorException: Error: Class 'Symfony\Component\Form\Exception\FormException' not found

When I tried to use ShtumiUsefulBundle's Ajax autocomplete type i got the following error..
FatalErrorException: Error: Class 'Symfony\Component\Form\Exception\FormException' not found in /var/www/example.com/vendor/Shtumi/UsefulBundle/Form/Type/AjaxAutocompleteType.php line 52
My project is Symfony2.3.
Please help.
ShtumiUsefulBundle is incompatible with your Symfony version. Try to find another bundle or implement your own for needed features or downgrade your Symfony to 2.0.

Fatal Error PHP Call to Function Undefined Multi-Site

I added Wordpress SEO by Yoast to a website.Turns out the site wasn't compatible with the plugin.
The following error message is displayed:
Fatal error: Call to undefined function is_multisite() in /home2/(websitedomain)/public_html/events/wp-content/plugins/wordpress-seo/inc/class-wpseo-options.php on line 2899
It's not letting me access plugin section to disable or remove the plugin.
I went through the database, and I deleted the plugin files, but I still see the error message of the website.
How do I get the incompatible plugin totally off the website?
I don't have actually the possibility to look at a wordpress database, so I only can give you a very general explanation :
Use phpmyadmin
look for the table with the plugin data (named wp_plugins or similar)
There is a field that indicates if the plugin is active. Set it to zero for the plugin you want to disable.

Drupal Fatal error: Call to undefined function views_get_enabled_views()

I use drupal 7.22 with Apache 2.2 , mysql 5.5 and PHP 5.3.
I'm having the error of WSOD, and when I enable the error message, it shows:
Fatal error: Call to undefined function views_get_enabled_views() in
/var/www/drupal7/sites/all/modules/admin_menu/admin_menu.map.inc on
line 150
It happens when I migrate the whole drupal to another system, or when I update the core to the recent released version, WHERE I enter the username and password to access the administration page ( /drupal-address/user).
You got this error because of view does not support some function of new drupal
check last reply on this link
https://drupal.org/node/1778470
Also
https://drupal.org/node/1170192

fishpig wordpress integration in magento not working - Fatal error

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).

Categories