Viewing 2 replies - 1 through 2 (of 2 total)
  • Anonymous User 10765487

    (@anonymized-10765487)

    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() 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)

    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.