elgg installation with xampp - php

I am trying to install elgg 2.3.0 in windows with Apache 2.4.53 and php 8.1.5 and set all instructions this link http://learn.elgg.org/en/stable/intro/install/xampp.html but when i run instalaition page with browser from localhost show me fatal error :
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in D:\xampp\htdocs\sites\elgg\vendor\elgg\elgg\engine\lib\input.php on line 290
Fatal error: During inheritance of IteratorAggregate: Uncaught ArgumentCountError: Too few arguments to function _elgg_php_error_handler(), 4 passed in D:\xampp\htdocs\sites\elgg\vendor\symfony\http-foundation\ParameterBag.php on line 19 and exactly 5 expected in D:\xampp\htdocs\sites\elgg\vendor\elgg\elgg\engine\lib\elgglib.php:964 Stack trace: #0 D:\xampp\htdocs\sites\elgg\vendor\symfony\http-foundation\ParameterBag.php(19): _elgg_php_error_handler(8192, 'Return type of ...', 'D:\xampp\htdocs...', 298) #1 D:\xampp\htdocs\sites\elgg\vendor\composer\ClassLoader.php(414): include('D:\xampp\htdocs...') #2 D:\xampp\htdocs\sites\elgg\vendor\composer\ClassLoader.php(301): Composer\Autoload\includeFile('D:\xampp\htdocs...') #3 D:\xampp\htdocs\sites\elgg\vendor\symfony\http-foundation\Request.php(240): Composer\Autoload\ClassLoader->loadClass('Symfony\Compone...') #4 D:\xampp\htdocs\sites\elgg\vendor\symfony\http-foundation\Request.php(222): Symfony\Component\HttpFoundation\Request->initialize(Array, Array, Array, Array, Array, Array, NULL) #5 D:\xampp\htdocs\sites\elgg\vendor\symfony\http-foundation\Request.php(1942): Symfony\Component\HttpFoundation\Request->__construct(Array, Array, Array, Array, Array, Array, NULL) #6 D:\xampp\htdocs\sites\elgg\vendor\symfony\http-foundation\Request.php(281): Symfony\Component\HttpFoundation\Request::createRequestFromFactory(Array, Array, Array, Array, Array, Array) #7 [internal function]: Symfony\Component\HttpFoundation\Request::createFromGlobals(Object(Elgg\Di\ServiceProvider)) #8 D:\xampp\htdocs\sites\elgg\vendor\elgg\elgg\engine\classes\Elgg\Di\DiContainer.php(68): call_user_func(Array, Object(Elgg\Di\ServiceProvider)) #9 D:\xampp\htdocs\sites\elgg\vendor\elgg\elgg\engine\classes\Elgg\Di\DiContainer.php(48): Elgg\Di\DiContainer->build(Array, 'request') #10 D:\xampp\htdocs\sites\elgg\vendor\elgg\elgg\engine\classes\Elgg\Http\Input.php(87): Elgg\Di\DiContainer->__get('request') #11 D:\xampp\htdocs\sites\elgg\vendor\elgg\elgg\engine\classes\Elgg\I18n\Translator.php(160): Elgg\Http\Input->get('hl') #12 D:\xampp\htdocs\sites\elgg\vendor\elgg\elgg\engine\classes\Elgg\I18n\Translator.php(145): Elgg\I18n\Translator->detectLanguage() #13 D:\xampp\htdocs\sites\elgg\vendor\elgg\elgg\engine\classes\Elgg\I18n\Translator.php(325): Elgg\I18n\Translator->getCurrentLanguage() #14 D:\xampp\htdocs\sites\elgg\vendor\elgg\elgg\engine\classes\ElggInstaller.php(95): Elgg\I18n\Translator->registerTranslations('D:/xampp/htdocs...', true) #15 D:\xampp\htdocs\sites\elgg\vendor\elgg\elgg\engine\classes\Elgg\Application.php(483): ElggInstaller->__construct() #16 D:\xampp\htdocs\sites\elgg\install.php(11): Elgg\Application::install() #17 {main} in D:\xampp\htdocs\sites\elgg\vendor\symfony\http-foundation\ParameterBag.php on line 19

Elgg 2.3.0 doesn't support PHP 8.
Switch on PHP 7.4 or use the latest Elgg version

Related

Script error (500 HTTP) - ArrayAccess: Uncaught ErrorException

[2022-11-09 21:50:54] laravel.ERROR: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:1443
Stack trace:
#0 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(13): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/composer/ClassLoader.php(480): include('/home/u63148116...')
#2 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile()
#3 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Collections/helpers.php(15): Composer\Autoload\ClassLoader->loadClass()
#4 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): collect()
#5 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config()
#6 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()
#7 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(237): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap()
#8 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(152): Illuminate\Foundation\Application->bootstrapWith()
#9 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(136): Illuminate\Foundation\Http\Kernel->bootstrap()
#10 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#11 /home/u631481162/domains/believeconnected.com/public_html/hospital/public/index.php(52): Illuminate\Foundation\Http\Kernel->handle()
#12 {main} {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\\Support\\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:1443
Stack trace:
#0 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(13): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#1 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/composer/ClassLoader.php(480): include('/home/u63148116...')
#2 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/composer/ClassLoader.php(346): Composer\\Autoload\\includeFile()
#3 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Collections/helpers.php(15): Composer\\Autoload\\ClassLoader->loadClass()
#4 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): collect()
#5 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\\Foundation\\PackageManifest->config()
#6 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\\Foundation\\PackageManifest->aliases()
#7 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(237): Illuminate\\Foundation\\Bootstrap\\RegisterFacades->bootstrap()
#8 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(152): Illuminate\\Foundation\\Application->bootstrapWith()
#9 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(136): Illuminate\\Foundation\\Http\\Kernel->bootstrap()
#10 /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#11 /home/u631481162/domains/believeconnected.com/public_html/hospital/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle()
#12 {main} at /home/u631481162/domains/believeconnected.com/public_html/hospital/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:13)
[stacktrace]
#0 {main}
"}
After starting a script installation, I did everything according to the same documentation, videos released by the company, but it has an error. The php is in the superior version of the script and until then ok, because it will be working. But it keeps giving this unfortunate error... and the script doesn't work for some reason. If you want some part of the code just say that I add it to the document.

Laravel & vuejs cpanel share hosting app migration problem

I'm sorry for my English.
Good day, developers,
I need your help, I have an app that I must migrate https://creamedicinaprepagada.com/ It is developed in Laravel + VueJS, at the moment it is hosted in AWS CPANEL, but I must migrate to CPANEL HOSTINGER. I am passing all the files and databases from the AWS CPANEL to CPANEL HOSTINGER, the app i did not develop it and those are the only files I have.
In the first image you can see the public html and in the second what the AppGestorContenido folder contains.
It gives me error 500.
Stack trace:
#0 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(785): Illuminate\Events\EventServiceProvider->Illuminate\Events\{closure}(Object(Illuminate\Foundation\Application), Array)
#1 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(667): Illuminate\Container\Container->build(Object(Closure))
#2 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(615): Illuminate\Container\Container->resolve('events', Array)
#3 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(767): Illuminate\Container\Container->make('events', Array)
#4 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(1227): Illuminate\Foundation\Application->make('events')
#5 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Routing/RoutingServiceProvider.php(40): Illuminate\Container\Container->offsetGet('events')
#6 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(785): Illuminate\Routing\RoutingServiceProvider->Illuminate\Routing\{closure}(Object(Illuminate\Foundation\Application), Array)
#7 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(667): Illuminate\Container\Container->build(Object(Closure))
#8 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(615): Illuminate\Container\Container->resolve('router', Array)
#9 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(767): Illuminate\Container\Container->make('router', Array)
#10 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(927): Illuminate\Foundation\Application->make('router')
#11 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(855): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter))
#12 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(816): Illuminate\Container\Container->resolveDependencies(Array)
#13 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(667): Illuminate\Container\Container->build('App\\Http\\Kernel')
#14 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(265): Illuminate\Container\Container->resolve('App\\Http\\Kernel', Array, false)
#15 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(785): Illuminate\Container\Container->Illuminate\Container\{closure}(Object(Illuminate\Foundation\Application), Array)
#16 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(667): Illuminate\Container\Container->build(Object(Closure))
#17 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(615): Illuminate\Container\Container->resolve('Illuminate\\Cont...', Array)
#18 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(767): Illuminate\Container\Container->make('Illuminate\\Cont...', Array)
#19 /home/tucachivache/public_html/index.php(55): Illuminate\Foundation\Application->make('Illuminate\\Cont...')
#20 {main}
thrown in /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Events/EventServiceProvider.php on line 18
[17-Feb-2021 21:54:27 UTC] PHP Warning: include(/home/tucachivache/public_html/AppGestorContenido/vendor/composer/../laravel/framework/src/Illuminate/Events/Dispatcher.php): failed to open stream: No such file or directory in /home/tucachivache/public_html/AppGestorContenido/vendor/composer/ClassLoader.php on line 444
[17-Feb-2021 21:54:27 UTC] PHP Warning: include(): Failed opening '/home/tucachivache/public_html/AppGestorContenido/vendor/composer/../laravel/framework/src/Illuminate/Events/Dispatcher.php' for inclusion (include_path='.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/tucachivache/public_html/AppGestorContenido/vendor/composer/ClassLoader.php on line 444
[17-Feb-2021 21:54:27 UTC] PHP Fatal error: Uncaught Error: Class 'Illuminate\Events\Dispatcher' not found in /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Events/EventServiceProvider.php:18
Stack trace:
#0 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(785): Illuminate\Events\EventServiceProvider->Illuminate\Events\{closure}(Object(Illuminate\Foundation\Application), Array)
#1 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(667): Illuminate\Container\Container->build(Object(Closure))
#2 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Container/Container.php(615): Illuminate\Container\Container->resolve('events', Array)
#3 /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(767): Illuminate\Container\Container->make('events', Array)
#4 /home/tucachivache/public_html/AppGest in /home/tucachivache/public_html/AppGestorContenido/vendor/laravel/framework/src/Illuminate/Events/EventServiceProvider.php on line 18
seems like you are missing the vendor folder from laravel
rm -rf ./vendor
composer install
php artisan migrate
my bee this worked

array_merge(): Argument #2 is not an array after adding class into providers

I am using pbmedia/laravel-ffmpeg as soon as I installed and added the providers and alias, it shows me the following error. This code was simply working on another machine
array_merge(): Argument #2 is not an array
I have tried the following things
Composer update/ and Fresh install
Cleaning the bootstrap/cache/
Checked the config file for laravel-ffmpeg it's there and fine
Publish the config file using the artisan CLI tool: php artisan vendor:publish --provider="Pbmedia\LaravelFFMpeg\FFMpegServiceProvider"
Here is the portion from laravel.log when I tried to run.
[2019-06-19 00:34:40] local.ERROR: ErrorException: array_merge(): Argument #2 is not an array in /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:59
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'array_merge(): ...', '/Users/damanmok...', 59, Array)
#1 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php(59): array_merge(Array, 1)
#2 /Users/damanmokha/edetyv2/vendor/pbmedia/laravel-ffmpeg/src/FFMpegServiceProvider.php(25): Illuminate\Support\ServiceProvider->mergeConfigFrom('/Users/damanmok...', 'laravel-ffmpeg')
#3 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(565): Pbmedia\LaravelFFMpeg\FFMpegServiceProvider->register()
#4 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(74): Illuminate\Foundation\Application->register(Object(Pbmedia\LaravelFFMpeg\FFMpegServiceProvider))
#5 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(540): Illuminate\Foundation\ProviderRepository->load(Array)
#6 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\Foundation\Application->registerConfiguredProviders()
#7 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(203): Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap(Object(Illuminate\Foundation\Application))
#8 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(267): Illuminate\Foundation\Application->bootstrapWith(Array)
#9 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(113): Illuminate\Foundation\Console\Kernel->bootstrap()
#10 /Users/damanmokha/edetyv2/artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 {main}
if I don't add these providers it works fine, but then I am not able to use ffmpeg without that.
Laravel Version 5.3
pbmedia/laravel-ffmpeg 1.3
php version: 7.1

Unsupported operand types CakePHP

I have a CakePHP project running on other server PHP 5.6 but here this same app is not running on PHP 5.6 / 7.0.
I am using Croogo with CakePHP.
It's showing me debug error like below:
Error: [Error] Unsupported operand types
Stack Trace:
#0 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(282): include()
#1 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(201): CakePlugin::_includeFile('/var/www/vhosts...', true)
#2 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(121): CakePlugin::bootstrap('Acl')
#3 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(94): CakePlugin::load('Acl', Array)
#4 /Vendor/croogo/croogo/Extensions/Lib/CroogoPlugin.php(656): CakePlugin::load(Array, Array)
#5 /Vendor/croogo/croogo/Croogo/Config/croogo_bootstrap.php(126): CroogoPlugin::load(Array)
#6 /Vendor/croogo/croogo/Croogo/Config/bootstrap.php(8): require_once('/var/www/vhosts...')
#7 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(282): include('/var/www/vhosts...')
#8 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(201): CakePlugin::_includeFile('/var/www/vhosts...', false)
#9 /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(121): CakePlugin::bootstrap('Croogo')
#10 /Config/bootstrap.php(78): CakePlugin::load('Croogo', Array)
#11 /Vendor/cakephp/cakephp/lib/Cake/Core/Configure.php(98): include('/var/www/vhosts...')
#12 /Vendor/cakephp/cakephp/lib/Cake/bootstrap.php(432): Configure::bootstrap(true)
#13 /webroot/index.php(90): include('/var/www/vhosts...')
#14 {main}
It is from my tmp/logs/error.log file
Is there any fix?
Thanks in advance
Try debugging this place: /Vendor/cakephp/cakephp/lib/Cake/Core/CakePlugin.php(282): include() #1. See which file it's trying to include when failing and what's in it.

Magento error after Upgrade : Can't perform operation, incomplete metadata

I have updated version of Magento EE 12.2 to Magento 14.2.0.2 but i get error when update or create product and category. Error massage is "Can't perform operation, incomplete metadata!"
I have also tried 'Enterprise_Index_Model_Action_Exception' with message 'Can't perform operation, incomplete metadata!' but not work for me.
Here is screenshot of error.
2016-06-20T12:36:57+00:00 ERR (3):
exception 'Enterprise_Index_Model_Action_Exception' with message 'Can't perform operation, incomplete metadata!' in app\code\core\Enterprise\Index\Model\Action\Abstract.php:125
Stack trace:
#0 app\code\core\Enterprise\CatalogInventory\Model\Index\Action\Refresh\Row.php(69): Enterprise_Index_Model_Action_Abstract->_validate()
#1 app\code\core\Enterprise\Mview\Model\Client.php(123): Enterprise_CatalogInventory_Model_Index_Action_Refresh_Row->execute()
#2 app\code\core\Enterprise\CatalogInventory\Model\Index\Observer.php(53): Enterprise_Mview_Model_Client->execute('enterprise_cata...', Array)
#3 app\code\core\Mage\Core\Model\App.php(1358): Enterprise_CatalogInventory_Model_Index_Observer->processStockItemSaveEvent(Object(Varien_Event_Observer))
#4 app\code\core\Mage\Core\Model\App.php(1337): Mage_Core_Model_App->_callObserverMethod(Object(Enterprise_CatalogInventory_Model_Index_Observer), 'processStockIte...', Object(Varien_Event_Observer))
#5 app\Mage.php(448): Mage_Core_Model_App->dispatchEvent('cataloginventor...', Array)
#6 app\code\core\Mage\Core\Model\Abstract.php(344): Mage::dispatchEvent('cataloginventor...', Array)
#7 app\code\core\Mage\CatalogInventory\Model\Stock\Item.php(893): Mage_Core_Model_Abstract->afterCommitCallback()
#8 [internal function]: Mage_CatalogInventory_Model_Stock_Item->afterCommitCallback()
#9 app\code\core\Mage\Core\Model\Resource\Abstract.php(110): call_user_func(Array)
#10 app\code\core\Mage\Core\Model\Abstract.php(322): Mage_Core_Model_Resource_Abstract->commit()
#11 app\code\core\Mage\Adminhtml\controllers\Catalog\ProductController.php(728): Mage_Core_Model_Abstract->save()
#12 app\code\core\Mage\Core\Controller\Varien\Action.php(418): Mage_Adminhtml_Catalog_ProductController->saveAction()
#13 app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('save')
#14 app\code\core\Mage\Core\Controller\Varien\Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#15 app\code\core\Mage\Core\Model\App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#16 app\Mage.php(684): Mage_Core_Model_App->run(Array)
#17 index.php(83): Mage::run('', 'store')
#18 {main}
Try to use php 5.3 disabling warnings and notices. It avoids some code warnings deprecation in old version.
If you get some invalid function name in the middle, go upgrading to 5.4, 5.5, etc.
It usually works for me. ;)

Categories