Title: fails in php 5.5
Last modified: August 22, 2016

---

# fails in php 5.5

 *  [comenius](https://wordpress.org/support/users/comenius/)
 * (@comenius)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/fails-in-php-55/)
 * Warning: mysql_query(): Access denied for user ‘root’@’localhost’ (using password:
   NO) in /home/user/public_html/wp/wp-content/plugins/page-lists-plus/page-lists-
   plus.php on line 327
 * Warning: mysql_query(): A link to the server could not be established in /home/
   user/public_html/wp/wp-content/plugins/page-lists-plus/page-lists-plus.php on
   line 327
 * Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given
   in /home/user/public_html/wp/wp-content/plugins/page-lists-plus/page-lists-plus.
   php on line 328
 * [https://wordpress.org/plugins/page-lists-plus/](https://wordpress.org/plugins/page-lists-plus/)

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

 *  [yankhr](https://wordpress.org/support/users/yankhr/)
 * (@yankhr)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/fails-in-php-55/#post-5486390)
 * Hey Comenius,
    the same thing happened to me right now. Updated Php from 5.2 
   to 5.5. Did you find a solution? Like another WP Plugin that does the same? Cheers,
   Hannes
 *  [ericco](https://wordpress.org/support/users/ericco/)
 * (@ericco)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fails-in-php-55/#post-5486409)
 * Anyone have a solution or an alternative? It looks like it uses deprecated mysql
   APIs.
 * thanks in advance,
    Eric
 *  [grahamat78](https://wordpress.org/support/users/grahamat78/)
 * (@grahamat78)
 * [11 years ago](https://wordpress.org/support/topic/fails-in-php-55/#post-5486428)
 * Hi
 * I am not sure this is the right way to do this but I have converted the source
   code for this plugin to use wpdm object database calls.
 * If you any of you are prepared to give it a go and test this for me you can download
   it from [here](http://www.anderson-mail.net/assets/page-lists-plus.zip).
 * I haven’t tried a proper install I copied this version of the php file up to 
   the /wp-content/plugins/page-lists-plus directory.
 * I am running php 5.5 and it seems to be working for me.
 * Cheers
 * Graham
 *  [roam92](https://wordpress.org/support/users/roam92/)
 * (@roam92)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fails-in-php-55/#post-5486433)
 * Dear Graham,
 * Thank you, thank you, thank you, THANK YOU!
 * My site was totally messed up this morning and I couldn’t figure out why… All
   the menus and page lists didn’t work right, but I had changed nothing.
 * It turns out that my hosting provider had upgraded to PHP 5.5 last night, which
   had broken this plugin… and then I found this thread.
 * I downloaded your fix, renamed the original `page-lists-plus.php` to `page-lists-
   plus.php.orig`, and then uploaded your new `page-lists-plus.php` file to my /
   wordpress/wp-content/plugins/page-lists-plus/ directory using FileZilla FTP –
   and voila!
 * Everything works beautifully again, flawlessly, no more problems.
 * Thank you again so very much!
 *  [ericco](https://wordpress.org/support/users/ericco/)
 * (@ericco)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/fails-in-php-55/#post-5486434)
 * I will definitely apply this change but as this is not my day job it make take
   months to get to it.
 * Thank you,
    Eric
 *  [ericco](https://wordpress.org/support/users/ericco/)
 * (@ericco)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/fails-in-php-55/#post-5486435)
 * I applied it and it works – thank you!

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

The topic ‘fails in php 5.5’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/page-lists-plus.svg)
 * [Page Lists Plus](https://wordpress.org/plugins/page-lists-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-lists-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-lists-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/page-lists-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-lists-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-lists-plus/reviews/)

 * 6 replies
 * 5 participants
 * Last reply from: [ericco](https://wordpress.org/support/users/ericco/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/fails-in-php-55/#post-5486435)
 * Status: not resolved