Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter inselaeffchen

    (@inselaeffchen)

    Oops, forgot to mark as “solved”.

    Thread Starter inselaeffchen

    (@inselaeffchen)

    A pleasure. Thanks and all the best!

    Thread Starter inselaeffchen

    (@inselaeffchen)

    Great stuff; it’s working again now!

    I’ll get onto the host about mbstring tomorrow.

    Thanks again! (And I’ve already left you a review :-))

    Thread Starter inselaeffchen

    (@inselaeffchen)

    Thanks, and sorry for the formatting of that code earlier. I didn’t notice there were no line breaks in it.

    I’ve tried your new code, and that didn’t work. And you’re right, mbstring isn’t installed.

    This particular host doesn’t let users change all that much, so I’ll have to ask if they can enable it. Hopefully!

    Thanks again for all your efforts on this; it’s appreciated.

    Paul

    Thread Starter inselaeffchen

    (@inselaeffchen)

    Great, thanks. Quite a big error message this time! I’ve anonymised the site details, but a lot of them seem to relate to the theme:

    Fatal error: Uncaught Error: Call to undefined function WordPressPopularPosts\mb_encode_numericentity() in /Fatal error: Uncaught Error: Call to undefined function WordPressPopularPosts\mb_encode_numericentity() in /path/to/site/wp-content/plugins/wordpress-popular-posts/src/Output.php:162 Stack trace: #0 /path/to/site/wp-content/plugins/wordpress-popular-posts/src/Front/Front.php(475): WordPressPopularPosts\Output->get_output() #1 /path/to/site/wp-includes/shortcodes.php(355): WordPressPopularPosts\Front\Front->wpp_shortcode(Array, '', 'wpp') #2 [internal function]: do_shortcode_tag(Array) #3 /path/to/site/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(sharif...', 'do_shortcode_ta...', '\n<div class="bo...') #4 /path/to/site/wp-includes/class-wp-hook.php(308): do_shortcode('\n<div class="bo...') #5 /path/to/site/wp-includes/plugin.php(205): WP_Hook->apply_filters('\n<div class="bo...', Array) #6 /path/to/site/wp-content/plugins/total-theme-core/inc/vcex/templates/vcex_post_content.php(142): apply_filters('the_content', '<!-- wp:block {...') #7 /path/to/site/wp-content/plugins/total-theme-core/inc/vcex/shortcode-abstract.php(139): include('/home/xxxxxdo/...') #8 /path/to/site/wp-includes/shortcodes.php(355): TotalThemeCore\Vcex\Shortcode_Abstract::output(Array, '', 'vcex_post_conte...') #9 [internal function]: do_shortcode_tag(Array) #10 /path/to/site/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(vcex_s...', 'do_shortcode_ta...', '[vc_column_text...') #11 /path/to/site/wp-content/plugins/js_composer/include/helpers/helpers.php(240): do_shortcode('[vc_column_text...') #12 /path/to/site/wp-content/themes/Total/vc_templates/vc_column.php(94): wpb_js_remove_wpautop('[vc_column_text...') #13 /path/to/site/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(271): require('/home/xxxxxdo/...') #14 /path/to/site/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(244): WPBakeryShortCode->loadTemplate(Array, '[vc_column_text...') #15 /path/to/site/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(366): WPBakeryShortCode->content(Array, '[vc_column_text...') #16 /path/to/site/wp-content/plugins/js_composer/include/helpers/helpers.php(1317): WPBakeryShortCode->output('', '[vc_column_text...') #17 /path/to/site/wp-includes/shortcodes.php(355): vc_do_shortcode('', '[vc_column_text...', 'vc_column') #18 [internal function]: do_shortcode_tag(Array) #19 /path/to/site/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(vcex_s...', 'do_shortcode_ta...', '[vc_column][vc_...') #20 /path/to/site/wp-content/plugins/js_composer/include/helpers/helpers.php(240): do_shortcode('[vc_column][vc_...') #21 /path/to/site/wp-content/themes/Total/vc_templates/vc_row.php(170): wpb_js_remove_wpautop('[vc_column][vc_...') #22 /path/to/site/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbapath/to/sitekeryshortcode.php(271): require('/home/xxxxxdo/...') #23 /path/to/site/wp-content/plugins/js_composer/include/classes/shortcodes/vc-row.php(40): WPBakeryShortCode->loadTemplate(Array, '[vc_column][vc_...') #24 /path/to/site/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(366): WPBakeryShortCode_Vc_Row->content(Array, '[vc_column][vc_...') #25 /path/to/site/wp-content/plugins/js_composer/include/helpers/helpers.php(1317): WPBakeryShortCode->output('', '[vc_column][vc_...') #26 /path/to/site/wp-includes/shortcodes.php(355): vc_do_shortcode('', '[vc_column][vc_...', 'vc_row') #27 [internal function]: do_shortcode_tag(Array) #28 /path/to/site/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(vcex_s...', 'do_shortcode_ta...', '[vc_row][vc_col...') #29 /path/to/site/wp-includes/class-wp-hook.php(310): do_shortcode('[vc_row][vc_col...') #30 /path/to/site/wp-includes/plugin.php(205): WP_Hook->apply_filters('[vc_row][vc_col...', Array) #31 /path/to/site/wp-content/themes/Total/inc/functions/frontend/wpex-the-content.php(56): apply_filters('wpex_the_conten...', '[vc_row][vc_col...', '') #32 /path/to/site/wp-content/themes/Total/inc/functions/sanitization-functions.php(212): wpex_the_content('[vc_row][vc_col...') #33 /path/to/site/wp-content/themes/Total/inc/theme-builder/post-template.php(98): wpex_sanitize_template_content('[vc_row][vc_col...') #34 /path/to/site/wp-content/themes/Total/inc/theme-builder/render-template.php(79): TotalTheme\Theme_Builder\Post_Template::render_template('[vc_row][vc_col...') #35 /path/to/site/wp-content/themes/Total/inc/theme-builder/theme-builder.php(96): TotalTheme\Theme_Builder\Render_Template->render() #36 /path/to/site/wp-content/themes/Total/inc/theme-builder/functions.php(18): TotalTheme\Theme_Builder->do_location('single') #37 /path/to/site/wp-content/themes/Total/singular.php(30): wpex_theme_do_location('single') #38 /path/to/site/wp-includes/template-loader.php(106): include('/home/xxxxxdo/...') #39 /path/to/site/wp-blog-header.php(19): require_once('/home/xxxxxdo/...') #40 /path/to/site/index.php(17): require('/home/xxxxxdo/...') #41 {main} thrown in /path/to/site/wp-content/plugins/wordpress-popular-posts/src/Output.php on line 162/wp-content/plugins/wordpress-popular-posts/src/Output.php:162 Stack trace: #0 /path/to/site/wp-content/plugins/wordpress-popular-posts/src/Front/Front.php(475): WordPressPopularPosts\Output->get_output() #1 /path/to/site/wp-includes/shortcodes.php(355): WordPressPopularPosts\Front\Front->wpp_shortcode(Array, '', 'wpp') #2 [internal function]: do_shortcode_tag(Array) #3 /path/to/site/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(sharif...', 'do_shortcode_ta...', '\n<div class="bo...') #4 /path/to/site/wp-includes/class-wp-hook.php(308): do_shortcode('\n<div class="bo...') #5 /path/to/site/wp-includes/plugin.php(205): WP_Hook->apply_filters('\n<div class="bo...', Array) #6 /path/to/site/wp-content/plugins/total-theme-core/inc/vcex/templates/vcex_post_content.php(142): apply_filters('the_content', '<!-- wp:block {...') #7 /path/to/site/wp-content/plugins/total-theme-core/inc/vcex/shortcode-abstract.php(139): include('/home/xxxxxdo/...') #8 /path/to/site/wp-includes/shortcodes.php(355): TotalThemeCore\Vcex\Shortcode_Abstract::output(Array, '', 'vcex_post_conte...') #9 [internal function]: do_shortcode_tag(Array) #10 /path/to/site/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(vcex_s...', 'do_shortcode_ta...', '[vc_column_text...') #11 /path/to/site/wp-content/plugins/js_composer/include/helpers/helpers.php(240): do_shortcode('[vc_column_text...') #12 /path/to/site/wp-content/themes/Total/vc_templates/vc_column.php(94): wpb_js_remove_wpautop('[vc_column_text...') #13 /path/to/site/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(271): require('/home/xxxxxdo/...') #14 /path/to/site/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(244): WPBakeryShortCode->loadTemplate(Array, '[vc_column_text...') #15 /path/to/site/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(366): WPBakeryShortCode->content(Array, '[vc_column_text...') #16 /path/to/site/wp-content/plugins/js_composer/include/helpers/helpers.php(1317): WPBakeryShortCode->output('', '[vc_column_text...') #17 /path/to/site/wp-includes/shortcodes.php(355): vc_do_shortcode('', '[vc_column_text...', 'vc_column') #18 [internal function]: do_shortcode_tag(Array) #19 /path/to/site/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(vcex_s...', 'do_shortcode_ta...', '[vc_column][vc_...') #20 /path/to/site/wp-content/plugins/js_composer/include/helpers/helpers.php(240): do_shortcode('[vc_column][vc_...') #21 /path/to/site/wp-content/themes/Total/vc_templates/vc_row.php(170): wpb_js_remove_wpautop('[vc_column][vc_...') #22 /path/to/site/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(271): require('/home/xxxxxdo/...') #23 /path/to/site/wp-content/plugins/js_composer/include/classes/shortcodes/vc-row.php(40): WPBakeryShortCode->loadTemplate(Array, '[vc_column][vc_...') #24 /path/to/site/wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php(366): WPBakeryShortCode_Vc_Row->content(Array, '[vc_column][vc_...') #25 /path/to/site/wp-content/plugins/js_composer/include/helpers/helpers.php(1317): WPBakeryShortCode->output('', '[vc_column][vc_...') #26 /path/to/site/wp-includes/shortcodes.php(355): vc_do_shortcode('', '[vc_column][vc_...', 'vc_row') #27 [internal function]: do_shortcode_tag(Array) #28 /path/to/site/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(vcex_s...', 'do_shortcode_ta...', '[vc_row][vc_col...') #29 /path/to/site/wp-includes/class-wp-hook.php(310): do_shortcode('[vc_row][vc_col...') #30 /path/to/site/wp-includes/plugin.php(205): WP_Hook->apply_filters('[vc_row][vc_col...', Array) #31 /path/to/site/wp-content/themes/Total/inc/functions/frontend/wpex-the-content.php(56): apply_filters('wpex_the_conten...', '[vc_row][vc_col...', '') #32 /path/to/site/wp-content/themes/Total/inc/functions/sanitization-functions.php(212): wpex_the_content('[vc_row][vc_col...') #33 /path/to/site/wp-content/themes/Total/inc/theme-builder/post-template.php(98): wpex_sanitize_template_content('[vc_row][vc_col...') #34 /path/to/site/wp-content/themes/Total/inc/theme-builder/render-template.php(79): TotalTheme\Theme_Builder\Post_Template::render_template('[vc_row][vc_col...') #35 /path/to/site/wp-content/themes/Total/inc/theme-builder/theme-builder.php(96): TotalTheme\Theme_Builder\Render_Template->render() #36 /path/to/site/wp-content/themes/Total/inc/theme-builder/functions.php(18): TotalTheme\Theme_Builder->do_location('single') #37 /path/to/site/wp-content/themes/Total/singular.php(30): wpex_theme_do_location('single') #38 /path/to/site/wp-includes/template-loader.php(106): include('/home/xxxxxdo/...') #39 /path/to/site/wp-blog-header.php(19): require_once('/home/xxxxxdo/...') #40 /path/to/site/index.php(17): require('/home/xxxxxdo/...') #41 {main} thrown in /path/to/site/wp-content/plugins/wordpress-popular-posts/src/Output.php on line 162

    Hope this helps? Thanks.

    Thread Starter inselaeffchen

    (@inselaeffchen)

    Thanks for looking at this so quickly. Nope, still causing a critical error. I’ve tried it a few times, as something confused me. Part of the highlighted code to replace includes this:

     // Attempt to close open tags
            $this->output = force_balance_tags($this->output);

    That bit isn’t in the replacement, but it IS in the “end result” bit. I’ve tried with and without that bit, but both cause the error.

    I’ve cleared the WP cache and browser cache after saving in each case.

    Hope that (sort of) helps? Thanks in advance.

    Thread Starter inselaeffchen

    (@inselaeffchen)

    OK, thanks, I’ll bear that in mind if I don’t find another solution in the meantime.

    Your plugin looks interesting though, so maybe I’ll find a use for it in future, even if not this time.

    Thanks!

    Thread Starter inselaeffchen

    (@inselaeffchen)

    They’re still there, but it looks as if the short link expired after 24 hours. They’re now here: shorturl.at/drZ58

    Sorry for the hassle!

    Thread Starter inselaeffchen

    (@inselaeffchen)

    Hello, yes, I forgot to mention that responsive is definitely enabled.

    Screenshots here: shorturl.at/jwTU7

    Thanks!

    • This reply was modified 4 years, 7 months ago by inselaeffchen.
Viewing 9 replies - 1 through 9 (of 9 total)