How to fix Fatal error: Cannot redeclare get_cli_args() in class-wp-importer.php

Are you somehow including wp-admin\includes\class-wp-importer.php using include or require? That may cause the error of get_cli_args() function declared twice. If that is the case, then you better use include_once or require_once. Also, perhaps you should test your installation by disabling all the plugins and any custom theme. Then activate the theme and test WordPress. Then … Read more

How to Deobfuscate a sourcecop protected WordPress plugin?

I came up with a single (linux) terminal command to deal with this. Logic is to just change eval( code_to_eval ) in obfuscated php files to file_put_contents( __FILE__, code_to_eval ). At least that worked for me (my problematic plugin was “Wishlist 1Click Registration” by “HappyPlugins”). Here’s the command: grep -irl –include \*.php “eval(.*);” . | … Read more

On WordPress.org Plugin repository, Last Updated Date doesn’t match with Plugin Version Update Date

Please check the Category Posts Plugin’s Changelog on WordPress.org (on the Development tab). I’m providing the screenshot below: You’ll notice that version 4.9.13 was indeed updated on JULY 22 2021. 4.9.13 – JULY 22 2021 Fixed Line number with WordPress 5.8 However, on the right side it shows: Last updated: 1 month ago. This last … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)