I'm trying to activate the plugin and it's giving me the following error:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /html/wp-content/plugins/no-comments-on-pages/no-comments-on-pages.php on line 38
Line 38 looks like this:
return $open && get_post($post_id)->post_type !== 'page';
For full disclosure, I had this plugin installed and running fine while my site was hosted at BlueHost. I moved my site to MediaTemple today and this is when the issue happened.
I downloaded a clean copy of the plugin to confirm that the file was not corrupted during the move, so that's not the issue.