[Resolved] Division by Zero

Home Forums Support [Resolved] Division by Zero

Home Forums Support Division by Zero

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #160959
    Steven McCabe

    I added a post to my site tonight and the error below was displayed:

    Warning: Division by zero in /home1/MY DIRECTORY/public_html/wp-content/plugins/gp-premium/addons/generate-blog/functions/otf_regen_thumbs.php on line 132

    Warning: Division by zero in /home1/MY DIRECTORY/public_html/wp-content/plugins/gp-premium/addons/generate-blog/functions/otf_regen_thumbs.php on line 133

    I turned off the BLOG plugin and the error cleared up. I switched it back on (cos I love the plugin!), created another post and the same thing happened!

    Any ideas on how I can resolve this?

    Thanks.

    #160960
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    What version of Generate Blog are you using? You can check in the “Plugins” area of your Dashboard.

    #160961
    Steven McCabe

    It’s 1.2.77

    #160965
    Tom
    Lead Developer
    Lead Developer

    This was an issue in 1.2.76 but should be fixed in .77.

    Can you try re-installing GP Premium? Delete the current version and upload/activate the fresh version.

    #160988
    Steven McCabe

    You mean completely un-install the theme . . . everything?

    #161008
    Tom
    Lead Developer
    Lead Developer

    Not everything, just GP Premium.

    Deleting it and re-installing is exactly what happens when you update via the Dashboard – you won’t lose any settings.

    #161012
    Steven McCabe

    Ok, just done that and re-installed and activated the blog plugin and still getting the same error!

    #161014
    Tom
    Lead Developer
    Lead Developer

    Can you possibly send me temporary admin details to support@generatepress.com?

    #161015
    Steven McCabe

    Hi, yes, gimme few minutes as my presence is required to hang up some Xmas cards!!!!

    #161019
    Steven McCabe

    Ok, account created. You should have email in a few seconds . . .

    #161090
    Tom
    Lead Developer
    Lead Developer

    Ah, it’s because you have “Auto” set as your width.

    If you delete that value and leave it blank, it should be fine.

    I’ll add a safety check in there so even if you add it, this won’t happen.

    Thanks!

    #161094
    Steven McCabe

    That’s great! Sorry, but where do I find this setting?

    #161126
    Tom
    Lead Developer
    Lead Developer

    In “Customize > Blog > Post Image”.

    #161129
    Steven McCabe

    The one place I didn’t look!!!!!

    That’s fixed it, though ๐Ÿ™‚

    Many thanks for all your help. Love the GP theme and all its bits and bobs. Great work and thanks again for all your help.

    #161130
    Tom
    Lead Developer
    Lead Developer

    You’re welcome! Thanks for pointing out this little issue ๐Ÿ™‚

    Glad you’re enjoying the theme!

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