Skip to content

Instantly share code, notes, and snippets.

pascut

Block or report user

Report or block pascut

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@pascut
pascut / Block.php
Last active Mar 30, 2019
Temporary 'fix' for static block caching issue in Magento 1.9.3.8 (app/code/local/Mage/Cms/Block/Block.php)
View Block.php
<?php
/**
* ***************ATTENTION***************************************
* This is the temporary fix for the Magento 1.9.3.8 bug
* See http://magento.stackexchange.com/q/73685/3112?stw=2
* The only change from app/code/core/Mage/Cms/Block/Block.php
* is that the getCacheKeyInfo() function below is changed, I
* concatenated a string that contains the page url and the block id
* In this way the result will be unique each time.
* ****************************************************************
You can’t perform that action at this time.