Fatal error: Cannot redeclare Error!
-
This error is giving me such a huge headache, i’ve been looking at the php files and don’t see any doubles?
Fatal error: Cannot redeclare rt_save_thumbnail() (previously declared in /home/content/a/p/p/appsasia/html/wp-content/themes/RawApps_Theme/functions.php:126) in /home/content/a/p/p/appsasia/html/wp-content/themes/RawApps_Theme/includes/functions.php on line 149
So what I did was I looked at line 126 on functions.php for that theme, and I see function rt_save_thumbnail($post_id, $post) {
then I looked at the functions.php in the Includes folder for that theme, and I get this huge mess of code?
<?php
eval(base64_decode(“aWYoISRmb290ZXIpCnsKZWNobyAiPHAgc3R5bGU9J2NvbG9yOnJlZDsgZm9udC1zaXplOjE2cHg7IGZvbnQtd2VpZ2h0OmJvbGQ7IHRleHQtYWxpZ246Y2VudGVyJz5UaGFuayB5b3UgZm9yIGRvd25sb2FkaW5nIHRoZQpNb2JpbGUgQXBwIFRoZW1lIGZyb20gUmF3QXBwcy5jb20gZGVzaWduZWQgaW4gYXNzb2NpYXRpb24gd2l0aCBSYXdBcHB2aWNlLmNvbS4KPGJyIC8+PGJyIC8+ClRoaXMgdGhlbWUgaXMgZnJlZSB0byB1c2UgZm9yIGNvbW1lcmNpYWwgYW5kIHBlcnNvbmFsIHByb2plY3RzLiBUaGUgY3VycmVudCBsaWNlbnNlIGZvciB0aGlzIHZlcnNpb24gZG9lcyBub3QgYWxsb3cgY2hhbmdlcyB0bwp0aGUgZm9vdGVyLiBJZiB5b3Ugd291bGQgbGlrZSB0byBjdXN0b21pemUgeW91ciBmb290ZXIgdmlzaXQgb3VyIHByZW1pdW0gdGhlbWUgY2F0YWxvZyBhdCA8YQpocmVmPSdodHRwOi8vcmF3YXBwdmljZS5jb20nPlJhd0FwcHZpY2UuY29tPC9hPi48L3A+IjsKfQ==”));
?>Does anybody have any tips on how to fix this error?
- The topic ‘Fatal error: Cannot redeclare Error!’ is closed to new replies.