Having Problems With Fatal error: Call to undefined function: wp_constrain_dimensions() in

[ad]I was having a weird issue when I upgraded to WordPress 2.5. I tried to upload my images but I kept a php error, so I did some reaearching online to fix it. I have the links that helped me fix this WordPress 2.5 PHP error, hopefully it helps someone out.

I was getting this error :

Fatal error: Call to undefined function: wp_constrain_dimensions() in

Here is how I fixed the problem. You need to replace all the root files in WordPress folder (except config.php). ** Not only wp-admin and wp-includes folders.

  1. There is a topic on this problem on this page
  2. If you haven’t read them, here are the directions to upgrade to WordPress 2.5

I am not much of a PHP guy so I can’t really help much, lol. If I have a problem all I do is hit the search engines to find a fix for it. PHP basically looks like Chinese to me, I can adjust some small parts of the code but I cannot write it from scratcth. I hope this helps.

Leave a Reply

Your email address will not be published. Required fields are marked *

+ 51 = 61

This site uses Akismet to reduce spam. Learn how your comment data is processed.