• Resolved Eaton

    (@eatonz)


    I’m not sure what this is, but it appeared in my PHP error log, and the site was down with a 500 error until I restarted it.

    [15-Jun-2017 22:36:26 UTC] PHP Fatal error: Cannot redeclare jetpack_houzz_shortcode() (previously declared in C:\home\site\wwwroot\wp-content\plugins\jetpack\modules\shortcodes\houzz.php:17) in C:\home\site\wwwroot\wp-content\plugins\jetpack\modules\shortcodes\houzz.php on line 17

    OPCache is enabled. PHP 7.1.6. Jetpack 4.8.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    Once you restarted the site, was everything fine? My initial thought is the cache might have been holding on to the previous version of the file and upon an update, it re-included it without clearing the cache.

    Please do let us know if it is continuing and we can dig into it more.

    Cheers!

    Thread Starter Eaton

    (@eatonz)

    @kraftbj Yes. I seem to get these “Cannot redeclare” errors at random times, and they almost always crash the site. Others have said it could be the OPCache.

    Odds are this will not occur again. Just wanted to report it in case the issue might have been with the plugin code instead of external factors.

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    There are some odd issues with OPCache and 7.1 that we’re trying to track down along with bug reports on PHP.net. Most of these, though, segfault. It’s new, to me, for it to fatal with an error, so that’s hopefully something that can help push some of the work forward.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“Houzz” Shortcode Fatal Error’ is closed to new replies.