• Resolved ImageBeee

    (@beee)


    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 ImageNebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @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 ImageBeee

    (@beee)

    @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 ImageImran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @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 ImageBeee

    (@beee)

    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 ImageNithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @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 ImageBeee

    (@beee)

    Plugin Support ImagePatrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @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 ImageBeee

    (@beee)

    I’ll await the update.

    Plugin Support ImageDmytro – WPMU DEV Support

    (@wpmudevsupport16)

    Hello @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, in order to stay updated.

    Please don’t hesitate to contact us, if you have any questions.

    Best Regards,
    Dmytro

    Hi @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.