Magento Duplicated Messages

JTS

Recently we had noticed that several of our success messages, such as “Product Name was successfully added to your cart”, where actually being added twice.  Several other messages were also duplicated we had noticed.

This was working fine on our development server and another upgrade instance.  The only difference between our production and development servers is that we run Varnish on the webserver.

Thankfully, one quick Google search, revealed that the plugin we use to coordinate between Magento and Varnish (Available Here), actually had a bug that would duplicate these types of messages.

To fix the issue, you just need to download the latest version of the Messages.php file from the Turpentine github of the plugin site (See Here)

One quick check on the code (to see what changed) and an FTP later, the messages were all fixed.

About the author

During his twenty-five professional years, Mr. Silva has had experience in nearly every facet of the Information Technology industry. Ranging from advanced data mining / data visualization systems to running multi-state small business IT infrastructures, Mr. Silva has always provided precise and cost-effective strategies to meet any client’s needs. With his tremendous work ethic and “Can-Do” attitude, Mr. Silva has always met every challenge head-on and with intelligent determination. Mr. Silva is also a certified NAUI Advanced/Nitrox Diver, hoping to get a few more wrecks under his belt in the Atlantic.