• Resolved oldmovies

    (@oldmovies)


    Hello i received an email by wordpress that inform me about a critical error on my site (https://classicmovies.gr/) due to the plugin broken link checker. Some informations about my site are

    WordPress ?κδοση 6.6

    Ενεργ? θ?μα: Oceanly News Dark (?κδοση 1.2.7)

    Τρ?χων πρ?σθετο: Broken Link Checker (?κδοση 2.3.0)

    ?κδοση PHP 8.0.30

    Uncaught Error: Attempt to assign property "post_content" on null in /home/classicm/public_html/wp-content/plugins/broken-link-checker/legacy/includes/containers.php:212

    Stack trace:

    #0 /home/classicm/public_html/wp-content/plugins/broken-link-checker/legacy/includes/containers.php(564): blcContainer->update_field()

    #1 /home/classicm/public_html/wp-content/plugins/broken-link-checker/legacy/includes/instances.php(184): blcContainer->unlink()

    #2 /home/classicm/public_html/wp-content/plugins/broken-link-checker/legacy/includes/links.php(917): blcLinkInstance->unlink()

    #3 /home/classicm/public_html/wp-content/plugins/broken-link-checker/legacy/core/core.php(2323): blcLink->unlink()

    #4 /home/classicm/public_html/wp-content/plugins/broken-link-checker/legacy/core/core.php(1900): wsBrokenLinkChecker->do_bulk_unlink()

    #5 /home/classicm/public_html/wp-content/plugins/broken-link-checker/app/admin-pages/local-submenu/class-view.php(52): wsBrokenLinkChecker->links_page()

    #6 /home/classicm/public_html/wp-content/plugins/broken-link-checker/app/admin-pages/local-submenu/class-controller.php(193): WPMUDEV_BLC\App\Admin_Pages\Local_Submenu\View->render()

    #7 /home/classicm/public_html/wp-includes/class-wp-hook.php(324): WPMUDEV_BLC\App\Admin_Pages\Local_Submenu\Controller->output()

    #8 /home/classicm/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()

    #9 /home/classicm/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()

    #10 /home/classicm/public_html/wp-admin/admin.php(259): do_action()

    #11 {main}

    ? thrown

    Can you please help me?

    • This topic was modified 4 months ago by oldmovies.
    • This topic was modified 4 months ago by oldmovies.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @oldmovies

    I hope you are doing well today.

    We had only 1 case like that in the past but we were not able to troubleshoot and not able to replicate.

    Based on error, it seems you use old local version. Is there any reason to not use Cloud version?

    I also pinged our BLC Team to review this error. We will post an update here as soon as more information is available.

    Kind Regards,
    Kris

    Thread Starter oldmovies

    (@oldmovies)

    Hello, thank you for your reply, My php version is PHP 8.0.30. There is no reason not to anable the cloud version and I can enable it if it is better.I am waiting for your BLC team to look into this bug and I am waiting for your reply.

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @oldmovies

    Thank you for response!

    We got additional information from your developers on this.

    Based on the shared error message, we can tell that this error is related to the bulk “Unlink” action. It would mean that a set of reported links were checked and then the “Unlink” action from “Bulk Actions” drop-down was selected and applied – which then failed.

    Now, the reason for it failing is a bit unclear. According to error it suggests that the posts that the plugin tried to unlink did not exist anymore. However, if the links were reported and posts got deleted, those reported links should already be automatically removed from the list.

    What could happen, however, would be that:
    – links where detected
    – a bulk action was applied
    – but somehow before it was fully executed those posts were deleted in some other way (e.g. some other code deleted them)

    – or that they are somehow “dynamic” (for example, they are some dynamic templates or “virtual pages”)

    That’s more of a speculation at this point, based on the error message only but let me ask:

    – on what kind of pages those links where – just regular posts/pages or some theme templates or some kind of pages “dynamically” generated by some plugin? Or maybe they were e.g. some custom fields or other kind of “non-post” content?

    – to make sure – you didn’t remove those pages/posts (on which links were detected) manually, right?

    Kind regards,
    Adam

    Thread Starter oldmovies

    (@oldmovies)

    ?i have removed some broken links from same posts/pages manually, but i think i havent remove full posts/pages . Is this a problem?

    what can i do now?

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @oldmovies

    No, removing links should not cause that at all – it’s fine to remove broken links (it’s expected to remove them or fix them). If posts would get somehow removed “during the scan”, it could possibly be the cause but if they are not removed, I admit I’m a bit stumped with this.

    Could you you try (unless that also gives you such fatal error?) using ‘Forced re-check’ option on “Link Checker -> Local -> Settings ->Advanced” page after fully re-installing the plugin?

    I mean:
    – disable and remove the plugin
    – fully purge all cache on site/server if there is any active
    – re-install and re-enable it
    – if there’s no fatal error yet, go to “Link Checker -> Local -> Settings -> Advanced”, scroll it down and use “Re-check all pages” button there.

    Would you give it a go and update us about the outcome, please?

    Kind regards,
    Adam

    Thread Starter oldmovies

    (@oldmovies)

    I did what you said and reactivated the plugin. I don’t seem to have any visual problems also i dont have any broken link, only warnings.

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @oldmovies,

    I did what you said and reactivated the plugin. I don’t seem to have any visual problems also i dont have any broken link, only warnings.

    So just to be sure, even after the above steps are you able to get the same email regarding the mentioned error? Or do you notice any difference?

    Do you recall whether the email gets sent on any specific actions within the plugin side or it just gets sent at random?

    Could we know whether you have a staging site? If yes, is it possible to check whether you are able to replicate the same issue in the staging site too?

    Looking forward to your response.

    Kind Regards,

    Nithin

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @oldmovies,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open this thread if you need any further assistance.

    Kind Regards
    Nithin

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.