Fatal error: Cannot redeclare get_file_description() (previously declared in /home

wphtml

Hello every one.
My issue is i have make one clone of sub domain form my site with staging but when i have run staging site i have getting below error.

Fatal error: Cannot redeclare get_file_description() (previously declared in /home

I have follow below steps: Upload all care file exclude of(wp-config.php,htaccess,and wp-content directory)

Check every file have not any static live url define in my site.

also rename sub domain with new sub domain and move all file there but cant solve.

Please give me a proper guide for solve this issue.

Read More

PHP 7 added new features

wphtml
  • Speed : Php 7 add speed as compare to 5 and 6 it is twise to double speed execution.
  • Type Declarations : with php 7 you can declare variable type in function like object, array , float or int.
  • Error Handling : it will update with fatal error and exception handling.
  • New Operators : with php 7 added new operator call “Spaceship Operator” < = >
  • Easy User-land CSPRNG : API for an easy to use and reliable Cryptographically Secure PseudoRandom Number Generator in PHP 7
    You cane generate random no with new function like( random_bytes(3) , random_int(1,15); ).

    unicode support for emoji

    echo “\u{1F60D}”; // outputs 😍

Read More

wordpress 4.7.3 version for security

wordpress

You can see mor update on wp site.
it will support follow 6 task.

  • Cross-site scripting (XSS) via media file metadata.
  • Control characters can trick redirect URL validation.
  • Unintended files can be deleted by administrators using the plugin deletion functionality.
  • Cross-site scripting (XSS) via video URL in YouTube embeds.
  • Cross-site scripting (XSS) via taxonomy term names.
  • Cross-site request forgery (CSRF) in Press This leading to excessive use of server resources.

DOWNLOAD wp 4.7.3 here

WordPress 4.7.3 Security and Maintenance Release

Read More