Error Message

I was sent here by Blue Host because they said that there is a corruption issue in Word Press, and the issue is in the story by Envato and was told to tell you guys because they cannot fix it. I have attached a screen shot. Hopefully that opens. This is what was sent to me in chat with BlueHost. Thank you for being on hold. I checked on the issue and found that the theme is causing the issue, I tried to change the PHP versions and checked, but it did not work. The error being shown is :
" Uncaught DivisionByZeroError: Modulo by zero in /home2/matsudaa/public_html/wp-content/themes/thestory/functions/html-builders.php:382 Stack trace: #0 /home2/matsudaa/public_html/wp-content/themes/thestory/functions/html-builders.php(356): pexeto_get_recent_posts_column_layout_html(Array, 0) #1 /home2/matsudaa/public_html/wp-content/themes/thestory/functions/shortcodes.php(76): pexeto_get_recent_posts_html(’’, 0, 0, -1, ‘columns’) #2 /home2/matsudaa/public_html/wp-includes/shortcodes.php(356): pexeto_recent_posts_shortcode(Array, ‘’, ‘pexblogposts’) #3 [internal function]: do_shortcode_tag(Array) #4 /home2/matsudaa/public_html/wp-includes/shortcodes.php(228): preg_replace_callback(’/\[(\[?)(pexblo…’, ‘do_shortcode_ta…’, ‘[pexcirclecta p…’) #5 /home2/matsudaa/public_html/wp-includes/class-wp-hook.php(307): do_shortcode(’[pexcirclecta p…’) #6 /home2/matsudaa/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(’[pexcirclecta p…’, Array) #7 /home2/matsudaa/public_html/wp-includes/rest-api/ in /home2/matsudaa/public_html/wp-content/themes/thestory/functions/html-builders.php on line 382 "
It looks like the theme code is causing the error, you will have to contact a developer or contact the theme vendor give them this error and ask them to check on it.


Contact with your purchase item author hope they will helped!


I do not even know who or what you are speaking of. I was told by Blue Host to contact you.

Envato don’t support items - authors do.

Assuming this is the theme you are using then unfortunately the author does not support this item.

You could try leaving a comment on the item and the author may be able to help.

We have had this website for 6 years. I do not know who it is we need to contact for this “very easy fix.”

That is an author of your theme. Click the following link and ask him if he will be able to help you with the issue:

Alternatively, you will have to hire a freelancer, for example from

@matsudaacupuncture From the error stack you posted, I see some key details – a division by zero error, in a modulus operator nonetheless, and in the context of a column layout. If I had to guess, you might have set the “number of columns” somewhere on this particular page to 0 (which could cause this exact error if the developer did not account for it)

I’d suggest checking everything on the affected page very carefully to make sure this isn’t the case.

1 Like

Hi @matsudaacupuncture, hope you are using the latest version theme ( Version 1.9.14).


I made changes to a section. The changed section would not publish/update. The suggested fix was adding a plug in called jQuery (something like that). I added the plug in. I was able to publish the changes. Once I did that, I was no longer able to edit. I changed nothing.


Hi Joelle,

I’ve spent some time analyzing the error stack that you posted (which was highly informational) and came to the conclusion that this error is originating from a shortcode misconfiguration. There’s no mention of any jQuery plugin in the error stack

It seems to be coming from a shortcode called [pexblogposts]. I’m not familiar with this particular theme or how it works, but I would advise checking the page very carefully, and make sure that this blog posts element has these required attributes:

[pexblogposts pex_attr_columns="2" pex_attr_number="50" pex_attr_title="Blog"]

In the context of your error, the pex_attr_columns attribute seems to default to 0, which is causing the division by 0 error that you’re observing. I’m 100% certain that this is the root cause.

Whether you have access to the raw text code for the page or you’re working with any sort of drag-and-drop or visual page builder, check carefully to make sure the number of columns is indeed set. I found many samples online of this shortcode being used, and they all have the columns attribute set to 2+.