Back to BreadcrumbsPress (Lite) Forum

Plugin causing Critical Error page – PHP Fatal error: Uncaught TypeError: strst

Published on: August 24, 2022 at 11:48 am · By: mmcadmin
Author
Topic
#74905

Hi Dear Developer,

On our website, we use Lite and the latest and greatest version of the Plugin.

After the latest upgrade of all plugins and WP to 6.0.1 – when the user clicks on the Topics Prefix – made by another plugin you are the developer of – it’s causing a Critical Error page.
go here for example – https://makersmakingchange.com/forum/forums/requests/
and click here (screenshot) – https://monosnap.com/file/HsbP3lUrqBQzpZsinjEqrwz0OKG5wu

If we disable BreadCrumbs Plugin – Topic Prefix working.

How may we help you to investigate this issue?

here is the debug = true error message blow

[22-Aug-2022 20:35:08 UTC] PHP Fatal error: Uncaught TypeError: strstr(): Argument #1 ($haystack) must be of type string, Dev4Press\Plugin\BreadcrumbsPress\Data\Crumb given in /nas/content/live/mmcprod/wp-includes/functions.php:1143
Stack trace:
#0 /nas/content/live/mmcprod/wp-includes/functions.php(1143): strstr(Object(Dev4Press\Plugin\BreadcrumbsPress\Data\Crumb), ‘#’)
#1 /nas/content/live/mmcprod/wp-content/plugins/breadcrumbspress/core/expand/bbPress.php(441): add_query_arg(‘topic-prefix’, ‘seeking-solutio…’, Object(Dev4Press\Plugin\BreadcrumbsPress\Data\Crumb))
#2 /nas/content/live/mmcprod/wp-content/plugins/breadcrumbspress/core/expand/bbPress.php(135):

Dev4Press\Plugin\BreadcrumbsPress\Expand\bbPress->get_topic_prefix_page()
#3 /nas/content/live/mmcprod/wp-includes/class-wp-hook.php(307): Dev4Press\Plugin\BreadcrumbsPress\Expand\bbPress->build(Array)
#4 /nas/content/live/mmcprod/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array)
#5 /nas/content/live/mmcprod/wp-content/plugins/breadcrumbspress/core/crumbs/Generator.php(56): apply_filters(‘breadcrumbspres…’, Array)
#6 /nas/content/live/mmcprod/wp-content/plugins/breadcrumbspress/core/basic/Build.php(89): Dev4Press\Plugin\BreadcrumbsPress\Crumbs\Generator->build()
#7 /nas/content/live/mmcprod/wp-content/plugins/breadcrumbspress/core/bridge.php(30): Dev4Press\Plugin\BreadcrumbsPress\Basic\Build->current(Array)
#8 /nas/content/live/mmcprod/wp-content/plugins/breadcrumbspress/core/basic/Shortcodes.php(73): breadcrumbspress_current(Array)
#9 /nas/content/live/mmcprod/wp-includes/shortcodes.php(356): Dev4Press\Plugin\BreadcrumbsPress\Basic\Shortcodes->shortcode_current(Array, ”, ‘breadcrumbspres…’)
#10 [internal function]: do_shortcode_tag(Array)
#11 /nas/content/live/mmcprod/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(breadc…’, ‘do_shortcode_ta…’, ‘[breadcrumbspre…’)
#12 [internal function]: do_shortcode(‘[breadcrumbspre…’)
#13 /nas/content/live/mmcprod/wp-content/plugins/timber-library/lib/Twig.php(296): call_user_func_array(‘do_shortcode’, Array)
#14 /nas/content/live/mmcprod/wp-content/plugins/timber-library/vendor/twig/twig/src/Environment.php(497) : eval()’d code(68): Timber\Twig->exec_function(‘do_shortcode’, ‘[breadcrumbspre…’)
#15 /nas/content/live/mmcprod/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(216): __TwigTemplate_e020faaf30296a5b0b859f7bfddbffc8fba2c0c7e310f21b4dfc917ba7a02609->block_content(Array, Array)
#16 /nas/content/live/mmcprod/wp-content/plugins/timber-library/vendor/twig/twig/src/Environment.php(497) : eval()’d code(85): Twig\Template->displayBlock(‘content’, Array, Array)
#17 /nas/content/live/mmcprod/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(455): __TwigTemplate_15c61e8deb8e028d7fff296ee466989a7b964cff84ac2721e1d8a77fb6c3631e->doDisplay(Array, Array)
#18 /nas/content/live/mmcprod/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(422): Twig\Template->displayWithErrorHandling(Array, Array)
#19 /nas/content/live/mmcprod/wp-content/plugins/timber-library/vendor/twig/twig/src/Environment.php(497) : eval()’d code(35): Twig\Template->display(Array, Array)
#20 /nas/content/live/mmcprod/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(455): __TwigTemplate_e020faaf30296a5b0b859f7bfddbffc8fba2c0c7e310f21b4dfc917ba7a02609->doDisplay(Array, Array)
#21 /nas/content/live/mmcprod/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(422): Twig\Template->displayWithErrorHandling(Array, Array)
#22 /nas/content/live/mmcprod/wp-content/plugins/timber-library/vendor/twig/twig/src/Template.php(434): Twig\Template->display(Array)
#23 /nas/content/live/mmcprod/wp-content/plugins/timber-library/vendor/twig/twig/src/TemplateWrapper.php(47): Twig\Template->render(Array, Array)
#24 /nas/content/live/mmcprod/wp-content/plugins/timber-library/lib/Loader.php(79): Twig\TemplateWrapper->render(Array)
#25 /nas/content/live/mmcprod/wp-content/plugins/timber-library/lib/Timber.php(334): Timber\Loader->render(‘page-plugin.twi…’, Array, false, ‘default’)
#26 /nas/content/live/mmcprod/wp-content/plugins/timber-library/lib/Timber.php(383): Timber\Timber::compile(Array, Array, false, ‘default’, true)
#27 /nas/content/live/mmcprod/wp-content/plugins/timber-library/lib/Timber.php(410): Timber\Timber::fetch(Array, Array, false, ‘default’)
#28 /nas/content/live/mmcprod/wp-content/themes/mmc/footer.php(15): Timber\Timber::render(Array, Array)
#29 /nas/content/live/mmcprod/wp-includes/template.php(770): require_once(‘/nas/content/li…’)
#30 /nas/content/live/mmcprod/wp-includes/template.php(716): load_template(‘/nas/content/li…’, true, Array)
#31 /nas/content/live/mmcprod/wp-includes/general-template.php(92): locate_template(Array, true, true, Array)
#32 /nas/content/live/mmcprod/wp-content/themes/mmc/single-forum.php(6): get_footer()
#33 /nas/content/live/mmcprod/wp-includes/template-loader.php(106): include(‘/nas/content/li…’)
#34 /nas/content/live/mmcprod/wp-blog-header.php(19): require_once(‘/nas/content/li…’)
#35 /nas/content/live/mmcprod/index.php(17): require(‘/nas/content/li…’)
#36 {main}
thrown in /nas/content/live/mmcprod/wp-includes/functions.php on line 1143
[22-Aug-2022 20:35:18 UTC] PHP Deprecated: Required parameter $lineno follows optional parameter $only in /nas/content/live/mmcprod/wp-content/plugins/timber-library/vendor/twig/twig/src/Node/IncludeNode.php on line 25
[22-Aug-2022 20:35:18 UTC] PHP Deprecated: Method ReflectionParameter::isArray() is deprecated in /nas/content/live/mmcprod/wp-content/plugins/timber-library/vendor/twig/twig/src/Node/Expression/CallExpression.php on line 257
[22-Aug-2022 20:35:23 UTC] PHP Warning: Trying to access array offset on value of type null in /nas/content/live/mmcprod/wp-content/plugins/import-export-for-bbpress/includes/class-hf-bb-impexpcsv-cron.php on line 15
[22-Aug-2022 20:35:26 UTC] PHP Warning: Trying to access array offset on value of type null in /nas/content/live/mmcprod/wp-content/plugins/import-export-for-bbpress/includes/class-hf-bb-impexpcsv-cron.php on line 15

Thank you,
Justin

Viewing 3 replies - 1 through 3 (of 3 total)
Author
Replies
  • #74915

    Thanks for reporting this, I will check it out and let you know soon.

    Milan

    Dev4Press - Premium plugins for WordPress.

  • #74916

    I have identified the error in BreadcrumbsPress, and updated version will be released tomorrow.

    Regards,
    Milan

    Dev4Press - Premium plugins for WordPress.

  • #74917

    Fixed 2.0.1 version is now deployed.

    Milan

    Dev4Press - Premium plugins for WordPress.

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