Title: [Plugin: TDO Mini Forms] Parse error with v 0.13
Last modified: August 19, 2016

---

# [Plugin: TDO Mini Forms] Parse error with v 0.13

 *  [sebisback](https://wordpress.org/support/users/sebisback/)
 * (@sebisback)
 * [17 years ago](https://wordpress.org/support/topic/plugin-tdo-mini-forms-parse-error-with-v-013/)
 * hi,
 * the website where i plan to use tdominiforms is not yet online, so i just updated
   v 0.12.7 to v 0.13 and i’ve got this :
 * Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION
   or T_VAR or ‘}’ in /…/www/wp-content/plugins/tdo-mini-forms/include/tdomf-widget-
   classes.php on line 1017
 * do you have any idea ?
 * …so i stay with 0.12.7 for the moment 🙂
 * thanx for this great plugin !

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

 *  [riledhel](https://wordpress.org/support/users/riledhel/)
 * (@riledhel)
 * [17 years ago](https://wordpress.org/support/topic/plugin-tdo-mini-forms-parse-error-with-v-013/#post-1086246)
 * Just edit the file and overwrite the “isEditForm” function with the original 
   code from v0.13:
 *     ```
       /**
            * Returns if the input form or mode is a edit form or not
            *
            * @return Boolean
            * @access public
            */
           public static function isEditForm($mode,$form_id=false) {
               if($form_id != false) {
                   $mode = tdomf_generate_default_form_mode($form_id);
               }
               if(strpos($mode, "edit-") === 0) {
                   return true;
               }
               return false;
           }
       ```
   
 * Then try again.
 *  [the_dead_one](https://wordpress.org/support/users/the_dead_one/)
 * (@the_dead_one)
 * [17 years ago](https://wordpress.org/support/topic/plugin-tdo-mini-forms-parse-error-with-v-013/#post-1086271)
 * Actually the problem is that you are using php4 while I did all my dev and testing
   on php5. You need to comment out the “public static” part in “isEditForm”.
 * Luckily I’ve already commit this change so, within the next 15 minutes, you can
   grab [the dev version](http://downloads.wordpress.org/plugin/tdo-mini-forms.zip)(
   which will shortly become v0.13.1) to resolve it.

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

The topic ‘[Plugin: TDO Mini Forms] Parse error with v 0.13’ is closed to new replies.

 * 2 replies
 * 3 participants
 * Last reply from: [the_dead_one](https://wordpress.org/support/users/the_dead_one/)
 * Last activity: [17 years ago](https://wordpress.org/support/topic/plugin-tdo-mini-forms-parse-error-with-v-013/#post-1086271)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
