Error discovered when using the pagination numbers
-
Please note during debugging I may or may not have wpmathpub enabled or not.
Using WordPress version = 6.8.2 wpmathpub version = 2.0.4
While I have wpmathpub enabled I found that when I go to baseURL/page/263 there would be no pagination numbers at the bottom of the page. Thus I coerced things by modifying the URL = baseURL/page/264. When I hit enter a blank page was returned and the error below was served. I then entered URL = baseURL/page/265 and it served a regular page up.
The error returned from entering / hitting return on URL = baseURL/page/264 was
: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in
/home/politico/amarketplaceofideas.com/wp-content/plugins/wpmathpub/phpmathpublisher/mathpublisher.php:1050
Stack trace: 0 /home/politico/amarketplaceofideas.com/wp-content/plugins/wpmathpub/phpmathpublisher/mathpublisher.php(1005): expression_math->dessine_expression(9.6) 1 /home/politico/amarketplaceofideas.com/wp-content/plugins/wpmathpub/phpmathpublisher/mathpublisher.php(1232): expression_math->dessine(9.6) 2 /home/politico/amarketplaceofideas.com/wp-content/plugins/wpmathpub/phpmathpublisher/mathpublisher.php(967): expression_math->dessine_grandoperateur(’12’, ‘_integrale’) 3 /home/politico/amarketplaceofideas.com/wp-content/plugins/wpmathpub/phpmathpublisher/mathpublisher.php(1020): expression_math->dessine(’12’) 4 /home/politico/amarketplaceofideas.com/wp-content/plugins/wpmathpub/phpmathpublisher/mathpublisher.php(1005): expression_math->dessine_expression(’12’) 5 /home/politico/amarketplaceofideas.com/wp-content/plugins/wpmathpub/phpmathpublisher/mathpublisher.php(1673): expression_math->dessine(’12’) 6 /home/politico/amarketplaceofideas.com/wp-content/plugins/wpmathpub/phpmathpublisher/mathpublisher.php(1704): mathimage(‘int{}{}{E circ …’, ’12’, ‘https://www.ama…’) 7 /home/politico/amarketplaceofideas.com/wp-content/plugins/wpmathpub/wpmathpub.php(118): mathfilter(‘ int{}{}{E c…’, ’12’, ‘https://www.ama…’) 8 [internal function]: wpmathfilter(Array) 9 /home/politico/amarketplaceofideas.com/wp-content/plugins/wpmathpub/wpmathpub.php(132): preg_replace_callback(‘#\[pmath(\s+siz…’, ‘wpmathfilter’, ‘\r\n\t\xC3\xA2\xE2\x82\xAC\xE2\x80\xB9<…’) 10 /home/politico/amarketplaceofideas.com/wp-includes/class-wp-hook.php(324): to_phpmath(‘
\r\n\t\xC3\xA2\xE2\x82\xAC\xE2\x80\xB9<…’) 11 /home/politico/amarketplaceofideas.com/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘
\r\n\t\xC3\xA2\xE2\x82\xAC\xE2\x80\xB9<…’, Array) 12 /home/politico/amarketplaceofideas.com/wp-content/themes/default/inc/views/blog/class-hestia-blog-post-layout.php(281): apply_filters(‘the_content’, ‘
\r\n\t\xC3\xA2\xE2\x82\xAC\xE2\x80\xB9<…’) 13 /home/politico/amarketplaceofideas.com/wp-content/themes/default/inc/views/blog/class-hestia-blog-post-layout.php(249): Hestia_Blog_Post_Layout->get_post_content() 14 /home/politico/amarketplaceofideas.com/wp-content/themes/default/inc/views/blog/class-hestia-blog-post-layout.php(220): Hestia_Blog_Post_Layout->get_theme_excerpt(‘default’) 15 /home/politico/amarketplaceofideas.com/wp-content/themes/default/inc/views/blog/class-hestia-blog-post-layout.php(66): Hestia_Blog_Post_Layout->render_post_body() 16 /home/politico/amarketplaceofideas.com/wp-content/themes/default/inc/views/blog/class-hestia-blog-post-layout.php(44): Hestia_Blog_Post_Layout->get_article(Array) 17 /home/politico/amarketplaceofideas.com/wp-includes/class-wp-hook.php(324): Hestia_Blog_Post_Layout->render(‘default’) 18 /home/politico/amarketplaceofideas.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 19 /home/politico/amarketplaceofideas.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 20 /home/politico/amarketplaceofideas.com/wp-content/themes/default/template-parts/content.php(12): do_action(‘hestia_blog_pos…’, ‘default’) 21 /home/politico/amarketplaceofideas.com/wp-includes/template.php(812): require(‘/home/politico/…’) 22 /home/politico/amarketplaceofideas.com/wp-includes/template.php(745): load_template(‘/home/politico/…’, false, Array) 23 /home/politico/amarketplaceofideas.com/wp-includes/general-template.php(206): locate_template(Array, true, false, Array) 24 /home/politico/amarketplaceofideas.com/wp-content/themes/default/index.php(66): get_template_part(‘template-parts/…’) 25 /home/politico/amarketplaceofideas.com/wp-includes/template-loader.php(106): include(‘/home/politico/…’) 26 /home/politico/amarketplaceofideas.com/wp-blog-header.php(19): require_once(‘/home/politico/…’) 27 /home/politico/amarketplaceofideas.com/index.php(17): require(‘/home/politico/…’) 28 {main} thrown in /home/politico/amarketplaceofideas.com/wp-content/plugins/wpmathpub/phpmathpublisher/mathpublisher.php on line 1050
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.

