If you wanted to try changing the Add-On code before upgrading ExpressionEngine, that’s fine, but keep in mind that if you ever update PHP to 5.3+, the old style constructor will stop functioning, and you’ll likely see the same error you are now.
To use old style constructors, open up both ext.sharethis.php and pi.sharethis.php and rename the function __construct to the name of the class. So in the case of ext.sharethis.php, you would rename “__construct” to “Sharethis_ext” and for pi.sharethis.php, “__construct” would be changed to just “Sharethis”.
Again, there is no guarantee this will solve your problem, but I have a feeling this is what is causing the issue. In the changelog a couple of versions after yours, I noticed a bugfix that mentioned issues using the __construct function in plugins, which would explain the behavior you are experiencing. If at all possible though, I recommend upgrading ExpressionEngine, as there have been several important bugs and security issues resolved over the past year.
|