Title: Fatal error: Call to undefined function &#8211; pluggable.php
Last modified: September 1, 2016

---

# Fatal error: Call to undefined function – pluggable.php

 *  [Jeeguiguren](https://wordpress.org/support/users/jeeguiguren/)
 * (@jeeguiguren)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-pluggablephp/)
 * I am currently getting the following error when trying to access the admin panel:
 * Fatal error: Call to undefined function random_int() in /home2/monappar/public_html/
   wp-includes/pluggable.php on line 2196
 * I opened pluggable.php and looked for line 2196 and this is the code within that
   line:
 * $val = random_int( $_min, $_max );
 * And here is is within a few lines of code:
 *  // Use PHP’s CSPRNG, or a compatible method
    static $use_random_int_functionality
   = true; if ( $use_random_int_functionality ) { try { $_max = ( 0 != $max ) ? 
   $max : $max_random_number; // wp_rand() can accept arguements in either order,
   PHP cannot. $_max = max( $min, $_max ); $_min = min( $min, $_max ); **$val = 
   random_int( $_min, $_max );** if ( false !== $val ) { return absint( $val ); }
   else { $use_random_int_functionality = false; } } catch ( Error $e ) { $use_random_int_functionality
   = false; } catch ( Exception $e ) { $use_random_int_functionality = false; } }
 * I deactivated all the plugins by using phpMyAdmin yet that didn’t do anything.
 * Cheers in advance for any insight on this error!

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

 *  [abletec](https://wordpress.org/support/users/abletec/)
 * (@abletec)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-pluggablephp/#post-7463022)
 * Hi, jeeguiguren, & welcome to the WordPress support forum.
 * You don’t give us a site url, which can often be helpful in these types of situations.
   Please try deactivating all plugins again, as well as your theme, if it is not
   a default theme, & let’s see if that works.
 * Please let us know how you fare, won’t you?
 *  Thread Starter [Jeeguiguren](https://wordpress.org/support/users/jeeguiguren/)
 * (@jeeguiguren)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-pluggablephp/#post-7463102)
 * Hello Jackie,
 * Thats right! I forgot. Cheers for reminding me!
 * [Here is the website](http://monappartementasantiago.com/)
 * I tried using phpMyAdmin yet again in order to change the theme and deactivate
   plugins, yet it still doesnt work.
 * The page works perfectly, I just cannot access the backend.

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

The topic ‘Fatal error: Call to undefined function – pluggable.php’ is closed to
new replies.

## Tags

 * [pluggable.php](https://wordpress.org/support/topic-tag/pluggable-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Jeeguiguren](https://wordpress.org/support/users/jeeguiguren/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-pluggablephp/#post-7463102)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
