Title: PHP error when enabling plugin
Last modified: August 31, 2016

---

# PHP error when enabling plugin

 *  Resolved [cwiweb](https://wordpress.org/support/users/cwiweb/)
 * (@cwiweb)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-error-when-enabling-plugin/)
 * When activating the plugin in WP 4.3 using PHP 5.5 (Windows) I receive the following
   error:
 * Parse error: syntax error, unexpected end of file in .\wp-content\plugins\categories-
   multiple-images\categories-multiple-images.php on line 462
 * The error is being caused by the use of the old PHP open tag: <? which has probably
   been deprecated in favor of the full PHP open tag: <?php
 * The fix can be made by changing the open PHP tag on line #206, within the options_page()
   method, to <?php
 * [https://wordpress.org/plugins/categories-multiple-images/](https://wordpress.org/plugins/categories-multiple-images/)

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

 *  [Brian](https://wordpress.org/support/users/sin0cide/)
 * (@sin0cide)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/php-error-when-enabling-plugin/#post-6906134)
 * The issue is use of short tags. <?
 * The fix as mentioned in reviews are:
    [https://plugins.trac.wordpress.org/browser/categories-multiple-images/trunk/categories-multiple-images.php#L206](https://plugins.trac.wordpress.org/browser/categories-multiple-images/trunk/categories-multiple-images.php#L206)
 * change <? to <?php or enable short tags(Not recommend)
 * -Brian
 *  Plugin Author [Binternet](https://wordpress.org/support/users/binternet/)
 * (@binternet)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/php-error-when-enabling-plugin/#post-6906193)
 * Thanks sin0cide

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

The topic ‘PHP error when enabling plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/categories-multiple-images.svg)
 * [Categories Multiple Images](https://wordpress.org/plugins/categories-multiple-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/categories-multiple-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/categories-multiple-images/)
 * [Active Topics](https://wordpress.org/support/plugin/categories-multiple-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/categories-multiple-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/categories-multiple-images/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Binternet](https://wordpress.org/support/users/binternet/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/php-error-when-enabling-plugin/#post-6906193)
 * Status: resolved