Title: Undefined array key &#8220;swcfpc-sec-key&#8221;
Last modified: May 1, 2025

---

# Undefined array key “swcfpc-sec-key”

 *  Resolved [Vitaliss](https://wordpress.org/support/users/vitaliss/)
 * (@vitaliss)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/undefined-array-key-swcfpc-sec-key/)
 * I”m getting an error in the server logs: 
   PHP Warning: Undefined array key “swcfpc-
   sec-key” in …/wp-cloudflare-page-cache/libs/cache_controller.class.php on line
   896Should I be worried?

Viewing 1 replies (of 1 total)

 *  Plugin Support [Kush](https://wordpress.org/support/users/kushnamdev/)
 * (@kushnamdev)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/undefined-array-key-swcfpc-sec-key/#post-18449308)
 * Hi [@hemangshah](https://wordpress.org/support/users/hemangshah/),
 * Thank you for reaching out.
 * The message you’re seeing — Warning: Undefined array key “swcfpc-sec-key” — is
   just a PHP warning, not a fatal error. It doesn’t affect your site’s functionality
   or pose any security risk.
 * That said, we’ll review this internally and include a conditional check to suppress
   the warning in a future update to ensure cleaner logs.
 * You can safely ignore this for now.
 * Best regards,

Viewing 1 replies (of 1 total)

The topic ‘Undefined array key “swcfpc-sec-key”’ is closed to new replies.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kush](https://wordpress.org/support/users/kushnamdev/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/undefined-array-key-swcfpc-sec-key/#post-18449308)
 * Status: resolved