Support » Theme: Spacious » PHP Deprecated message on call to hexdec in functions.php

  • The following message is being generated by lines 320 and 350 (calls to hexdec) in the Spacious theme functions file:

    [03-Mar-2023 20:03:31 UTC] PHP Deprecated:  Invalid characters passed for attempted conversion, these have been ignored in /.../wp-content/themes/spacious/inc/functions.php on line 320
    [03-Mar-2023 20:03:31 UTC] PHP Deprecated:  Invalid characters passed for attempted conversion, these have been ignored in /.../wp-content/themes/spacious/inc/functions.php on line 350

    Is there an easy solution?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @joantu234,

    Thanks for reaching us,

    Can you please share the screenshot of the area where it actually gets displays on the site or in the admin area. We have checked on your end but it is not replicated.

    Also, let us know the theme version you are using on your end so that we can check on the same version and provide an appropriate solutions.

    Regards

    Hello same issue for me with same theme

    [13-Mar-2023 20:03:31 UTC] PHP Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /…/wp-content/themes/spacious/inc/functions.php on line 320

    Hi @ggomis,

    Can you please let me know the PHP version you are using on your end?

    Regards

    Hi, my PHP version was 4.4 I migrated the version to 8.0 and issue has been fixed

    Thread Starter joantu234

    (@joantu234)

    Sorry for slow reply. I’m running PHP 8.0 and the messages were appearing in the WP error log.

    Hi @joantu234,

    Thanks for getting back,

    I suspect one of the plugins you’re using might be causing the problem, so please try deactivating all the plugins one by one and check if the problem resolves.

    Let me know if this helps you or not and I will be back.

    Regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.