• Resolved jamesdev

    (@jamesdev)


    Hello,

    We are getting this error on our server over and over. We downgraded to the previous version of w3tc and the error didn’t clear. Any idea what could cause this error?

    PHP Parse error: syntax error, unexpected ‘<‘ in /files/sites/plugins/live/plugins/w3-total-cache/PgCache_ContentGrabber.php(1760) : eval()’d code on line 1
    PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0

    Thanks

    • This topic was modified 5 years, 3 months ago by jamesdev.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jamesdev

    (@jamesdev)

    I narrowed it down to one site. It occurs when I enable page cache.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jamesdev,

    Can you please share what settings you have enabled in Performance>Page Cache?
    What are your current PHP and WP version?
    When did those errors start to appear?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jamesdev,

    Just a follow-up, you should add a try catch around that line in the plugin, echo the content and die in the catch. That way he can debug the content processed by the content grabber so we can help further.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error: PgCache_ContentGrabber.php unexpected ‘<'’ is closed to new replies.