Home » Archive

Articles tagged with: error

Magento »

[19 Aug 2017 | Comments Off on Magento Error: Item (Mage_Core_Model_Store) with the same id “0” already exist]

I transferred my Magento site files from one computer to another (it can be from local computer to online or from development site to production site). I imported the database. Now, when I try to browse the new location’s site, I get the following error:
There has been an error processing your request
Item (Mage_Core_Model_Store) with the same id “0” already exist

Laravel, PHP »

[31 Oct 2016 | Comments Off on Laravel: Enable Proper Error Display]

By default, you will see the following message in case any error occurs in your Laravel application:

Whoops, looks like something went wrong.
Whoops, looks like something went wrong.

To show the exact error message details, you need to follow the steps below:

Laravel, PHP »

[24 Oct 2016 | 2 Comments]

You might get the following error while trying to run Laravel for the first time.

Warning: require(/var/www/laravel/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/laravel/bootstrap/autoload.php on line 17
Fatal error: require(): Failed opening required ‘/var/www/laravel/bootstrap/../vendor/autoload.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/laravel/bootstrap/autoload.php on line 17

Magento, Magento 2 »

[14 Jul 2016 | One Comment]

I am getting the following error while adding a new module to my Magento 2 installation and running the command on terminal php bin/magento setup:upgrade.
[InvalidArgumentException] There are no commands defined in the “setup” namespace

Magento »

[7 Jul 2016 | Comments Off on [SOLVED] Magento Fatal error: Call to a member function toOptionArray() on boolean includes/src/Mage_Adminhtml_Block_System_Config_Form.php]

This article provides a solution to the error occurred while accessing Payment methods section in Magento admin panel.

Joomla »

[30 Jun 2016 | One Comment]

I recently got the following error while trying to install a custom extension on Joomla.
JFolder::create: Could not create directory

Magento »

[3 Jul 2012 | Comments Off on Magento: Solution of Invalid method Mage_Catalog_Block_Product_List_Toolbar :: isLastPage]

While upgrading Magento, I got this error when I go to product list page. It says:

Invalid method Mage_Catalog_Block_Product_List_Toolbar::isLastPage(Array())


Magento »

[26 Jun 2012 | Comments Off on Magento: Solution of Warning: Invalid argument supplied for foreach() in …/template/catalog/product/list/toolbar.phtml]

While upgrading Magento, I am getting this error when I go to product list page.

Warning: Invalid argument supplied for foreach() in …/template/catalog/product/list/toolbar.phtml


Magento »

[11 Apr 2011 | 5 Comments]

I created a module, let’s say, ‘MyModule’. When I go to the Admin -> System -> Configuration section of this module, I get this weird error.

Fatal error: Class ‘Mage_MyModule_Helper_Data’ not found

Magento »

[28 Mar 2011 | 11 Comments]

I was creating a module. I already had one Grid displayed in admin. The Grid was being displayed by a Block class, for example: MyNamespace_MyModule_Block_Adminhtml_MyModule
Now, I had to display another Grid using a new Block class. Let’s say, I created a new Block class: MyNamespace_MyModule_Block_Adminhtml_MyNewGrid
I just copied code from MyNamespace_MyModule_Block_Adminhtml_MyModule and copied it to MyNamespace_MyModule_Block_Adminhtml_MyNewGrid class.

Magento »

[22 Jul 2010 | 11 Comments]

I have a fresh installation of Magento 1.4. I already have installed the sample data for Magento.
Now, when I go to the category listing page, no products are displayed. It says “There are no products matching the selection.“.

Magento »

[12 Jul 2010 | 35 Comments]

I got this error message when migrating my Magento files and database from one server to another.
Notice: Undefined index: 0 in app/code/core/Mage/Core/Model/Mysql4/Config.php on line 92

Facebook, Google, HTML »

[6 Jul 2010 | 25 Comments]

IFrames are not supported with XHTML 1.0 Strict Doctype.
When you use IFrame and your doctype is XHTML 1.0 Strict, then you cannot pass the W3C Markup Validation test. You always get errors.
The errors are like:-

Magento »

[29 Jun 2010 | 5 Comments]

I am using Magento 1.4. Homepage loads fine. When I go to category (product listing) page, it works fine. But when I go to any product detail page, I get the following error:-

There has been an error processing your request

Magento »

[16 Feb 2010 | 5 Comments]

I was building a custom module in Magento. I had created a system.xml file for storing configuration data from admin. From the below system.xml file, you can see that I have created a section named ‘My Module Name‘ which can be accessed from Admin –> System –> Configuration.
In the file below, I have just displayed the section and groups name. I have omitted others fields with dots, as they are not necessary here.