• I can navigate to the reste of the pages in wp-admin except the page editor that gives this code error:

    Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/punkmmur/public_html/wp-includes/wp-db.php:1564 Stack trace: #0 /home/punkmmur/public_html/wp-includes/wp-db.php(592): wpdb->db_connect() #1 /home/punkmmur/public_html/wp-includes/load.php(409): wpdb->__construct(‘punkmmur_calyps…’, ‘7S4T]52!pg’, ‘punkmmur_calyps…’, ‘localhost’) #2 /home/punkmmur/public_html/wp-settings.php(106): require_wp_db() #3 /home/punkmmur/public_html/wp-config.php(93): require_once(‘/home/punkmmur/…’) #4 /home/punkmmur/public_html/wp-load.php(37): require_once(‘/home/punkmmur/…’) #5 /home/punkmmur/public_html/wp-admin/admin.php(31): require_once(‘/home/punkmmur/…’) #6 /home/punkmmur/public_html/wp-admin/edit.php(10): require_once(‘/home/punkmmur/…’) #7 {main} thrown in /home/punkmmur/public_html/wp-includes/wp-db.php on line 1564

    After updating php 7.1 to 7.2 and 7.3 i came back to original 7.1 and its still 500.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @djusstattoo

    Hope you’re doing well!

    The mysql_* functions have been removed in PHP 7.x. Please deactivate temporary all plugins and see if the fatal error is still there. If the issue is fixed, start activating one plugin at a time, every time checking the edit.php?post_type=page to find which plugin is causing this,

    Please also check if there are php-mysql extensions are installed in the current PHP version.

    Hope this helps!

    Cheers,
    Nastia

    Hey
    you need to check if php-mysql extension is activated or not. If you are using cPanel then activate from php configuration button or use ssh to install$ sudo apt-get install php7.0-mysql

    Thread Starter djusstattoo

    (@djusstattoo)

    There are 2 mysql plugins in cpanel that are not activated should i activate them?
    ScreenShot

    i haven’t tryed to desactivate plugins yet. Maybe its those mysql’s that are not activated…?

    Thread Starter djusstattoo

    (@djusstattoo)

    I can’t access plugins page but the website works

    Thread Starter djusstattoo

    (@djusstattoo)

    Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/punkmmur/public_html/wp-includes/wp-db.php:1564 Stack trace: #0 /home/punkmmur/public_html/wp-includes/wp-db.php(592): wpdb->db_connect() #1 /home/punkmmur/public_html/wp-includes/load.php(409): wpdb->__construct(‘punkmmur_calyps…’, ‘7S4T]52!pg’, ‘punkmmur_calyps…’, ‘localhost’) #2 /home/punkmmur/public_html/wp-settings.php(106): require_wp_db() #3 /home/punkmmur/public_html/wp-config.php(91): require_once(‘/home/punkmmur/…’) #4 /home/punkmmur/public_html/wp-load.php(37): require_once(‘/home/punkmmur/…’) #5 /home/punkmmur/public_html/wp-admin/admin.php(31): require_once(‘/home/punkmmur/…’) #6 /home/punkmmur/public_html/wp-admin/plugins.php(10): require_once(‘/home/punkmmur/…’) #7 {main} thrown in /home/punkmmur/public_html/wp-includes/wp-db.php on line 1564

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Wp-admin/pages not accessible since php 7.1 update.’ is closed to new replies.