i was getting this error, and i figure out what i was doing wrong this is the php code i had:

echo '<a href="'.pages_url_mod($myrow['page_url'],$config['site_url'].'"


now i changed it to this:
echo '<a href="'.pages_url_mod($myrow['page_url'],$config['site_url']).'"


can you tell the differences?