Title: Problems in PHP 5.3.28
Last modified: August 21, 2016

---

# Problems in PHP 5.3.28

 *  Resolved [krca437](https://wordpress.org/support/users/krca437/)
 * (@krca437)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problems-in-php-5328/)
 * Hello,
    Nice plugin, thank you. Unfortunately today when ISP transfered us on
   new platform with PHP 5.3.28 /MySQL 5.5. acctual version 5.2.2 breaks admin page
   as same as in post
 * [http://wordpress.org/support/topic/latest-version-not-working-on-php-5426?replies=16](http://wordpress.org/support/topic/latest-version-not-working-on-php-5426?replies=16)
 * [Fatal error: Call to undefined function wp_enqueue_media() in /home/xxxxxxx/
   public_html/wp-content/plugins/jm-twitter-cards/inc/admin/meta-box/init.php on
   line 273]
 * Could not find ver. 5.1.8 i Repository as it was adviced, or any older.
 * And, yes, I know that have to upgrade our WP, but only now on new server have
   that oportunity. Until that I would like to have TW Cards again if possible. 
   Thank you for advice in advance.
 * PS
    WP 3.4.1 PHP 5.3.28
 * [https://wordpress.org/plugins/jm-twitter-cards/](https://wordpress.org/plugins/jm-twitter-cards/)

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

 *  Anonymous User 10765487
 * (@anonymized-10765487)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/problems-in-php-5328/#post-4903536)
 * Hi this is not a problem with PHP but with WP. You’re using a very old version
   of WordPress which I do not recommand.
 * But in this case I tried to convince the dev of the metabox (I’m using a framework
   now) to provide some gracious degradation with a fallback for [wp_enqueue_media()](http://codex.wordpress.org/Function_Reference/wp_enqueue_media)
   which is a function added to the core in 3.5.0 but he does not want to and I 
   kinda understand his point of view.
 * While I cannot provide a fallback for his very very old version I can show you
   how to solve it :
 * Open the file init.php on line 273 and replace wp_enqueue_media by :
 *     ```
       wp_enqueue_script('media-upload');
       wp_enqueue_script('thickbox');
       wp_enqueue_style('thickbox');
       ```
   
 * That should do the trick.
 *  Anonymous User 10765487
 * (@anonymized-10765487)
 * [12 years ago](https://wordpress.org/support/topic/problems-in-php-5328/#post-4903726)
 * Tested and working. Put this thread on resolved.

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

The topic ‘Problems in PHP 5.3.28’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jm-twitter-cards.svg)
 * [JM Twitter Cards](https://wordpress.org/plugins/jm-twitter-cards/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jm-twitter-cards/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jm-twitter-cards/)
 * [Active Topics](https://wordpress.org/support/plugin/jm-twitter-cards/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jm-twitter-cards/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jm-twitter-cards/reviews/)

## Tags

 * [wp 3.4.1](https://wordpress.org/support/topic-tag/wp-3-4-1/)

 * 2 replies
 * 2 participants
 * Last reply from: Anonymous User 10765487
 * Last activity: [12 years ago](https://wordpress.org/support/topic/problems-in-php-5328/#post-4903726)
 * Status: resolved