• Hello,

    The plugin generates an error: “Fatal error: Uncaught Error: Call to a member function fill() on null in /wp-content/plugins/breadcrumb-navxt/breadcrumb-navxt.php:689“

    Version du plugin : 7.5.2

    Version de WordPress : 7.1

    Version de PHP : 8.3.33 

    Regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author John Havlik

    (@mtekk)

    Well, this is interesting. For this to happen, breadcrumb_navxt::breadcrumb_trail wasn’t initialized when breadcrumb_navxt::display() was called. This leads to the question, how are you calling the breadcrumb trail? Additionally, are you using any plugins that try extending Breadcrumb NavXT or have any code that hooks on the bcn_breadcrumb_trail_object filter?

    • This reply was modified 2 weeks, 6 days ago by John Havlik.
    Thread Starter zebullon

    (@zebullon)

    Hello,

    Thank you for your reply.

    The plugin is integrated into the theme being used (Color Mag Pro) : https://docs.themegrill.com/colormag/docs/manage-breadcrumb/

    I need to test it on a staging site because I’ve disabled the plugin on the production site.

    Best regards.

    Thread Starter zebullon

    (@zebullon)

    Hi,

    I obtained these traces using the call stack (i only masq the server name on line 14) :

    1.breadcrumb_navxt->display()/wp-content/plugins/breadcrumb-navxt/breadcrumb-navxt.php:771

    2.bcn_display()/wp-content/themes/colormag-pro/template-parts/hooks/header/header.php:487

    3.colormag_breadcrumb()/wp-includes/class-wp-hook.php:353

    6.do_action()/wp-content/themes/colormag-pro/header.php:90

    9.locate_template()/wp-includes/general-template.php:48

    10.get_header()/wp-content/themes/colormag-pro/page.php:15

    11.include(‘/home/nebo7722/…’)/wp-content/plugins/wp-cerber/cerber-load.php:5746

    12.cerber_404_page()/wp-content/plugins/wp-cerber/cerber-load.php:2757

    13.cerber_access_control()/wp-content/plugins/wp-cerber/cerber-load.php:2679

    14.{closure}()/wp-includes/class-wp-hook.php:35320.require_once(‘/home/SERVERNAME/…’)/xmlrpc.php:29

    21.{main}thrown in /wp-content/plugins/breadcrumb-navxt/breadcrumb-navxt.php on line 689

    Regards

    Plugin Author John Havlik

    (@mtekk)

    On your staging site, can you disable wp-cerber and see if the problem persists? I don’t have access to that plugin, but seeing it in the call order is the only thing that sticks out to me, especially since it appears Color Mag has out of the box support for Breadcrumb NavXT.

    Thread Starter zebullon

    (@zebullon)

    Hi John,

    I’m going to disable WPCerber on my staging environment and try to reproduce the error that occurs when running the tasks (cron).

    Best regards

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

You must be logged in to reply to this topic.