Addon Error Install

Hi all cs`s

Can help me somebody with this error ?

I try to install an old addon created by a friend .....one of the best from here :)

Wat should i must to change ?

When i try to install the addon... gives me:

EroareOops, something went wrong (Internal Server Error). Please try again.

and

and

[12-Sep-2015 23:56:15 Europe/Minsk] PHP Fatal error: Call to undefined method Tygh\Addons\XmlScheme1::getRequirements() in /home/becomagr/public_html/app/functions/fn.addons.php on line 224

mentioned....addon it is for 2.2.4 and my CS now is 4.2.4

You'll have to port the addon from V2 toV4. There are many changes and you might have to rewrite it since a lot of the functionality has changed between V2 and V4.

Take default add-on ( e.g. banners) and compare the addon.xml and other files to see general changes between versions.

But we suggest you to ask your friend to make this adaptation