Title: Help with PHP error
Last modified: August 22, 2016

---

# Help with PHP error

 *  [tyles](https://wordpress.org/support/users/tyles/)
 * (@tyles)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/help-with-php-error/)
 * My site is suddenly showing the following error. Any idea how to fix this one?
   This was appearing before I just recently updated to the latest version, in hopes
   of fixing it, so I’m not quite sure what may have triggered it except an automatic
   WordPress update.
 * Warning: Division by zero in /home/content/32/8596432/html/wp-content/plugins/
   mtphr-members/includes/shortcodes.php on line 151
 * Warning: Division by zero in /home/content/32/8596432/html/wp-content/plugins/
   mtphr-members/includes/shortcodes.php on line 208
 * [https://wordpress.org/plugins/mtphr-members/](https://wordpress.org/plugins/mtphr-members/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [metaphorcreations](https://wordpress.org/support/users/metaphorcreations/)
 * (@metaphorcreations)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/help-with-php-error/#post-5532397)
 * Could you let me know what theme you are using?
    It looks like you are using 
   the “mtphr_members_archive” shortcode (or it’s being used as part of a theme)
   and the “columns” attribute is being set to “0”
 *  Thread Starter [tyles](https://wordpress.org/support/users/tyles/)
 * (@tyles)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/help-with-php-error/#post-5532403)
 * The theme was done by someone else and I don’t have contact with her. This is
   a client site that I took over after she could no longer get help from her original
   designer. I did install and set up Metaphor Members and had it working perfectly,
   my guess is that a WordPress auto-update caused the problem.
 * This is my shortcode
    `[mtphr_members_archive columns="3" excerpt_length="200"
   excerpt_more="{...<br>Read More >>}" assets="thumbnail,name,title,excerpt,excerpt_more,
   social"]`
 *  Thread Starter [tyles](https://wordpress.org/support/users/tyles/)
 * (@tyles)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/help-with-php-error/#post-5532404)
 * It’s pulling the name, title and link (which goes to Internal Server Error) as
   well as excerpt, but no thumbnail or social links. I get the error lines in place
   of that.
 *  Thread Starter [tyles](https://wordpress.org/support/users/tyles/)
 * (@tyles)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/help-with-php-error/#post-5532405)
 * SOLVED
 * I converted >> to html code.
 * I’m not still not sure why it worked originally, but then suddenly stopped.
 *  Plugin Author [metaphorcreations](https://wordpress.org/support/users/metaphorcreations/)
 * (@metaphorcreations)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/help-with-php-error/#post-5532406)
 * Do you have Member posts to show?
 * I ran a test with the shortcode you are using and am not seeing the errors… You
   could try uninstalling, deleting, and re-installing the plugin and see if that
   does anything.
 * You could also run through this FAQ [http://metaphorcreations.ticksy.com/faq/1483](http://metaphorcreations.ticksy.com/faq/1483)
   and see if there is another plugin or theme that may be conflicting with part
   of the code.
 *  Plugin Author [metaphorcreations](https://wordpress.org/support/users/metaphorcreations/)
 * (@metaphorcreations)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/help-with-php-error/#post-5532407)
 * Ok, great! Glad you where able to find a solution.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Help with PHP error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mtphr-members.svg)
 * [Metaphor Members](https://wordpress.org/plugins/mtphr-members/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mtphr-members/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mtphr-members/)
 * [Active Topics](https://wordpress.org/support/plugin/mtphr-members/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mtphr-members/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mtphr-members/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [metaphorcreations](https://wordpress.org/support/users/metaphorcreations/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/help-with-php-error/#post-5532407)
 * Status: not resolved