Title: Undefined array key
Last modified: May 14, 2025

---

# Undefined array key

 *  Resolved [Beee](https://wordpress.org/support/users/beee/)
 * (@beee)
 * [1 year ago](https://wordpress.org/support/topic/undefined-array-key-62/)
 * Can I include an acf field, which is connected to a post, while excluding posts(
   to which the field is connected) ?
 * I have checked acf fields and added the key to it.
   I then excluded posts and 
   got the following notices/warnings.
 * `PHP Warning: Undefined array key "cn_links_to" in /var/www/html/web/app/plugins/
   broken-link-checker/legacy/modules/containers/acf_field.php on line 522`
 * This comes after I entered the ACF field key for the field cn_links_to.
 * I only check for broken links in pages, blogroll, nav items and a custom post
   type, but not in posts, where the field cn_links_to is used. I don’t care about
   the content, because that’s not used. Oh and I use the local version, not the
   cloud.

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Support [Nebu John – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport14/)
 * (@wpmudevsupport14)
 * [1 year ago](https://wordpress.org/support/topic/undefined-array-key-62/#post-18466545)
 * Hi [@beee](https://wordpress.org/support/users/beee/),
 * I hope this message finds you well.
 * The Local Engine can exclude links where the URL contains any specific words,
   but it does not offer an option to exclude an ACF field. The Local Engine also
   provides an option to disable ACF fields from scan, you can find the same under
   the “Look for links in” tab.
 * PHP warnings generally shouldn’t cause any issues to the functionality of the
   plugin. However, could you please provide more clarification on how you have 
   configured the exclusion, which resulted in the mentioned PHP warning? Please
   share a screenshot of the same so that we can better understand and check this
   further.
 * Best Regards,
    Nebu John
 *  Thread Starter [Beee](https://wordpress.org/support/users/beee/)
 * (@beee)
 * [1 year ago](https://wordpress.org/support/topic/undefined-array-key-62/#post-18466854)
 * [@wpmudevsupport14](https://wordpress.org/support/users/wpmudevsupport14/) thanks
   for the reply.
 * I have to correct you a bit. I didn’t EXCLUDE any acf fields, I included them
   and excluded the post type posts.
 * I know warnings don’t cause an issue, but they clutter up my logs, making it 
   harder to identify more serious issues.
 * I posted this before the most recent update was released. After re-testing it,
   I haven’t seen any warnings in logs again, so maybe there was a fix in there 
   as well (unknowingly).
 * On another note, I checked the warnings screen. There was a message/link, which
   said “Change warning settings” and links to /wp-admin/admin.php?page=link-checker-
   settings#blc_warning_settings where it says, “Sorry, you are not allowed to access
   this page.”
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [1 year ago](https://wordpress.org/support/topic/undefined-array-key-62/#post-18467021)
 * Hello [@beee](https://wordpress.org/support/users/beee/),
 * I hope things are going well for you.
 * I am glad the warning issue was resolved after the recent update.
 * > On another note, I checked the warnings screen. There was a message/link, which
   > said “Change warning settings” and links to /wp-admin/admin.php?page=link-checker-
   > settings#blc_warning_settings where it says, “Sorry, you are not allowed to
   > access this page.”
 * If I use the above-mentioned URL and add it to my site, I replicate the same 
   error. However, I couldn’t get this to my system’s PHP error, access, crons, 
   and BLC logs either.
 * Can you share more clarification on where you got this? So we can check and report
   to the devs.
 * We look forward to hearing from you soon.
 * –
    Kind Regards, Imran Khan
 *  Thread Starter [Beee](https://wordpress.org/support/users/beee/)
 * (@beee)
 * [1 year ago](https://wordpress.org/support/topic/undefined-array-key-62/#post-18467171)
 * I am not saying it’s 100% resolved yet, only there are no more warnings yet.
 * I nuked the check and have to wait if the correct links show up in the checker.
 * Regarding the warning, if I click the admin filter warnings, it shows up. It 
   shows up below this text.
 * > The “Warnings” page lists problems that are probably temporary or suspected
   > to be false positives.
   > Warnings that persist for a long time will usually be
   > reclassified as broken links.
 *  Plugin Support [Nithin – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport11/)
 * (@wpmudevsupport11)
 * [1 year ago](https://wordpress.org/support/topic/undefined-array-key-62/#post-18467249)
 * Hi [@beee](https://wordpress.org/support/users/beee/),
 * > Regarding the warning, if I click the admin filter warnings, it shows up. It
   > shows up below this text.
 * Possible to share a screenshot of where exactly you noticed the above, so that
   we could have a better idea?
 * 
   Regards,
 * Nithin
 *  Thread Starter [Beee](https://wordpress.org/support/users/beee/)
 * (@beee)
 * [1 year ago](https://wordpress.org/support/topic/undefined-array-key-62/#post-18467268)
 * [https://cdn.bunnylust.com/app/uploads/2025/05/warning-broken-links.png](https://cdn.bunnylust.com/app/uploads/2025/05/warning-broken-links.png)
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [1 year ago](https://wordpress.org/support/topic/undefined-array-key-62/#post-18468827)
 * Hi [@beee](https://wordpress.org/support/users/beee/)
 * Thank you
 * I could find the issue here, the problem occurs because when we released the 
   Cloud version some URLs were updated, this one should be pointing to /wp-admin/
   admin.php?page=blc_local&local-settings=true#blc_warning_settings
 * I will notify our developers.
    Best Regards Patrick Freitas
 *  Thread Starter [Beee](https://wordpress.org/support/users/beee/)
 * (@beee)
 * [1 year ago](https://wordpress.org/support/topic/undefined-array-key-62/#post-18470686)
 * I’ll await the update.
 *  Plugin Support [Dmytro – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport16/)
 * (@wpmudevsupport16)
 * [1 year ago](https://wordpress.org/support/topic/undefined-array-key-62/#post-18471303)
 * Hello [@beee](https://wordpress.org/support/users/beee/),
 * I hope you’re doing great today!
 * We have forwarded all the details to the developers, but can’t give any ETA, 
   I’m afraid.
 * You can subscribe to the [developer log](https://wordpress.org/plugins/forminator/#developers),
   in order to stay updated.
 * Please don’t hesitate to contact us, if you have any questions.
 * Best Regards,
    Dmytro
 *  [Kris – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport13/)
 * (@wpmudevsupport13)
 * [1 year ago](https://wordpress.org/support/topic/undefined-array-key-62/#post-18483279)
 * Hi [@beee](https://wordpress.org/support/users/beee/)
 * As said above, this was already forwarded to our developers and I am marking 
   this thread as resolved, but if you have any additional questions feel free to
   let us know.
 * Kind Regards,
   Kris

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Undefined array key’ is closed to new replies.

 * ![](https://ps.w.org/broken-link-checker/assets/icon-256x256.png?rev=2900468)
 * [Broken Link Checker](https://wordpress.org/plugins/broken-link-checker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/broken-link-checker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/broken-link-checker/)
 * [Active Topics](https://wordpress.org/support/plugin/broken-link-checker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/broken-link-checker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/broken-link-checker/reviews/)

 * 10 replies
 * 7 participants
 * Last reply from: [Kris – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport13/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/undefined-array-key-62/#post-18483279)
 * Status: resolved