• Resolved jess888

    (@jess888)


    I need to update the PHP version on GrapeHeartVineyards.com to at least 5.6. When I do, the site crashes. Error logs say:

    PHP Warning: htmlentities() expects parameter 2 to be long, string given in /hermes/bosnacweb05/bosnacweb05aw/b2466/ipw.grapeheartnet/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/xmlrpc.php on line 52
    PHP Warning: htmlentities() expects parameter 2 to be long, string given in /hermes/bosnacweb05/bosnacweb05aw/b2466/ipw.grapeheartnet/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/xmlrpc.php on line 86

    I have tried deactivating the plugins that might be suspect, to no avail.

    Would love your help – thank you.

Viewing 1 replies (of 1 total)
  • Hi @jess888,

    I think the update did not work, and that your PHP version is still under 5.4:

    The line you mentioned references a constant ENT_XML1, which in versions <5.4 did not exist (which will convert ENT_XML1 into a string instead).

    Can you check your PHP version by doing this?

    1. Create a file called test.php in the document root
    2. Put <?php phpinfo(); ?>
    3. Save and visit your site at https://example.com/test.php

    There you should be able to confirm if the version is indeed 5.6 or not.

    Dave

Viewing 1 replies (of 1 total)
  • The topic ‘Errors when updating PHP version from 5.3’ is closed to new replies.