There seems to be a conflict with the All-in-One Event Calendar by Timely plugin. The error message goes away when I deactivate that plugin. However since this site is live and requires the functionality of both plugins – I tried commenting out the line that is prompting the error (266):
global $post; $post->permalink = $permalink; $url = add_query_arg(array());
The error went away and everything is still working but this clearly isn’t a long term solution. Any advice?