Support » Plugin: Page Lists Plus » fails in php 5.5

  • Comenius

    (@comenius)


    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/

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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

    Anyone have a solution or an alternative? It looks like it uses deprecated mysql APIs.

    thanks in advance,
    Eric

    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.

    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

    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!

    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

    (@ericco)

    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.