I wil NOT be available until February 04, so here goes a quick fix (FTP required) for those who are using the plugin Reactions in Private Messages 1.0.1 and have the following error:
Download and open /plugins/reactionsinprivatemessages/hooks/messageModel.php and find:
use \IPS\Content\Reactable
{
try
{
\IPS\Content\Reactable::canReact as allowedToReact;
}
catch ( \Error | \RuntimeException $e )
{
if ( method_exists( get_parent_class(), __FUNCTION__ ) )
{
return \call_user_func_array( 'parent::' . __FUNCTION__, \func_get_args() );
}
else
{
throw $e;
}
}
}
Change it to:
use \IPS\Content\Reactable
{
\IPS\Content\Reactable::canReact as allowedToReact;
}
Save and upload.
The error is the TRY/CATCH added by the framework when exporting the plugin.
If you DO NOT have FTP access, then simply disable or uninstall the plugin. I'll take a look (with IPS) when I get back.
Thank you.