Magento empty blank product page

Magento empty blank product page

August 17, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Magento empty blank product page

Debugging Empty Magento Product Pages

You’ve encountered an issue where your Magento product page displays nothing but a blank screen. The exception log reveals that there’s an error in one of your custom modules, which is preventing the page from loading correctly.

Understanding the Exception

The core problem lies with a third-party extension called “Magentothem_Upsellslider.” This module implements a layout observer to add jQuery libraries, but it seems the addJqueryLibrary method is not defined in its observer class. This missing method causes Magento to throw an exception when attempting to run the observer.

Here’s a breakdown of what’s happening:

  • The observer (Magentothem_Upsellslider_Model_Layout_Generate_Observer) tries to add jQuery libraries using the addJqueryLibrary method.
  • Since this method isn’t defined in the observer class, Magento throws an exception when it calls the observer via the generateLayoutBlocks() function.

Resolving the Issue

To fix this problem, you have a few options:

1. Contact the Extension Developer

Since the issue lies with a third-party extension, your first step should be to reach out to the developer of “Magentothem_Upsellslider.” They may need to update their code or provide a patch for this error.

You can usually find contact information on the extension’s documentation page or by searching their official website.

2. Temporarily Disable the Extension

If you’re unable to reach the developer immediately, you can temporarily disable the problematic module until it’s resolved. This will stop the exception from being thrown and allow your product pages to work again.

To do this:

  1. Log in to your Magento admin panel.
  2. Navigate to “System” -> “Configuration.”
  3. Click on “Advanced” in the left-hand menu.
  4. Under “Advanced,” click on “Disable Modules Output.”
  5. Find the “Magentothem_Upsellslider” module and select “Disable.”
  6. Click “Save Config.”

3. Fix the Method Yourself

If you’re comfortable with PHP development, you can open the observer file (app/code/local/Magentothem/Upsellslider/Model/Layout/Generate/Observer.php) and add the missing addJqueryLibrary method yourself.

Here’s an example of what it might look like:

class Magentothem_Upsellslider_Model_Layout_Generate_Observer
{
    public function addJqueryLibrary($observer)
    {
        $layout = Mage::getSingleton('core/layout');
        $layout->getBlock('head')->addJs('js/jquery.js');
    }
}

This method simply adds the jQuery library to the page’s head section. If this is the intended functionality, you can copy and paste this code into your observer file.

Conclusion

Empty product pages in Magento often stem from issues with third-party extensions or custom modules. By examining the exception logs and understanding the underlying error, you can take appropriate action such as contacting the developer, temporarily disabling the module, or fixing the issue yourself if possible.

Remember to test your changes thoroughly before rolling them out to a live environment. It’s also good practice to keep all your Magento extensions up-to-date to avoid compatibility issues.

For more advanced debugging techniques and performance optimizations in Magento, I recommend checking out our recent blog post on Magento Performance Best Practices.

Catalog Database Security Extensions

Our network