• Resolved snippet24

    (@snippet24)


    Hi, Im getting this, I had to disable the plugin for now…

    Fatal error: Uncaught Error: Call to undefined function WPJoli\JoliTOC\Engine\mb_convert_encoding() in /home/otzerlin/public_html/wp-content/plugins/joli-table-of-contents/core/Engine/ContentProcessing.php:25 Stack trace: #0 /home/otzerlin/public_html/wp-content/plugins/joli-table-of-contents/core/Controllers/PublicAppController.php(117): WPJoli\JoliTOC\Engine\ContentProcessing::Process() #1 /home/otzerlin/public_html/wp-includes/class-wp-hook.php(324): WPJoli\JoliTOC\Controllers\PublicAppController->joliTocFilterTheContent() #2 /home/otzerlin/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #3 /home/otzerlin/public_html/wp-content/plugins/wp-youtube-lyte/wp-youtube-lyte.php(634): apply_filters() #4 /home/otzerlin/public_html/wp-includes/class-wp-hook.php(324): lyte_trim_excerpt() #5 /home/otzerlin/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #6 /home/otzerlin/public_html/wp-includes/post-template.php(434): apply_filters() #7 

    ***trimmed code****

    /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #22 /home/otzerlin/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #23 /home/otzerlin/public_html/wp-includes/general-template.php(3050): do_action() #24 /home/otzerlin/public_html/wp-content/themes/otzerling/header.php(138): wp_head() #25 /home/otzerlin/public_html/wp-includes/template.php(810): require_once('/home/otzerlin/...') #26 /home/otzerlin/public_html/wp-includes/template.php(745): load_template() #27 /home/otzerlin/public_html/wp-includes/general-template.php(48): locate_template() #28 /home/otzerlin/public_html/wp-content/themes/otzerling/index.php(10): get_header() #29 /home/otzerlin/public_html/wp-includes/template-loader.php(106): include('/home/otzerlin/...') #30 /home/otzerlin/public_html/wp-blog-header.php(19): require_once('/home/otzerlin/...') #31 /home/otzerlin/public_html/index.php(17): require('/home/otzerlin/...') #32 {main} thrown in /home/otzerlin/public_html/wp-content/plugins/joli-table-of-contents/core/Engine/ContentProcessing.php on line 25

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author WPJoli

    (@wpjoli)

    Hi there !

    It is likely that your version of PHP does not have the mbstring module activated / installed.

    Please activate it in order to use the plugin (if your host uses cPanel, you can probably directly enable it from there).

    You can have a look here:

    https://www.php.net/manual/en/book.mbstring.php

    • This reply was modified 5 months ago by WPJoli.
    Thread Starter snippet24

    (@snippet24)

    Ok I tried that and it effectively loaded for some seconds the pages with table of contents but when I tried to load another page without the table of contents the website crashed. All in all a plugin shouldn’t crash the entire website if it doesn’t work… had to manually rename the plugin folder of the site to restore the access to it. The detail of the error was: A timeout occurred?Error code 524. In console log: Failed to load resource: the server responded with a status of 404 ()

    • This reply was modified 5 months ago by snippet24.
    • This reply was modified 5 months ago by snippet24.
    • This reply was modified 5 months ago by snippet24.
    Plugin Author WPJoli

    (@wpjoli)

    Hi, thank you for letting me know.

    I’m really sorry for the inconvenience, however I really don’t understand why you are getting a timeout or a 404 error. The plugin does nothing else but change the HTML within the page.

    Is there any error referring specifically to a file from the plugin ?

    Also make sure (if you do have one) that your caching plugin is flushed or deactivated to make sure.

    One more thing, it seems the error 524 is a cloudflare specific error code, maybe there is something to do regarding your cloudflare configuration.

    Cheers!

    Plugin Author WPJoli

    (@wpjoli)

    Hi, quick follow up here. Your error seem to to have occured more or less during a Cloudflare incident.

    Could you resolve your issue since then ?

    Thread Starter snippet24

    (@snippet24)

    Hi, srry for the late reply, I was planing to debug this in a staging wordpress installation but wait me a bit that I’m right now using it to debug something else.

    Thread Starter snippet24

    (@snippet24)

    Hi I Just tested it and is working properly so the Cloudflare incident must had the cause of the problem.

    Kind regards

    Plugin Author WPJoli

    (@wpjoli)

    Thank you for your feedback. Glad this was resolved !

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