54 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $5,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
kraftives says

Please help me in solving these warnings, in order to submit the theme for submission. Thanks in Advance.

I have found many warnings and have solved many of them thanks to wordpress.stackexchange.com but still unable to solve the below arors, please help me.

WARNING: Found base64_encode in the file twitteroauth.php. base64_encode() is not allowed. Line 123: return base64_encode(hash_hmac(‘sha1’, $base_string, $key, true)); Line 203: return base64_encode($signature);

WARNING: Found base64_decode in the file twitteroauth.php. base64_decode() is not allowed. Line 207: $decoded_sig = base64_decode($signature);

WARNING: file_get_contents was found in the file twitteroauth.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 277: file_get_contents(self::$POST_INPUT)

WARNING: curl_init was found in the file twitteroauth.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 1084: $ci = curl_init();

WARNING: curl_exec was found in the file twitteroauth.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 1110: $response = curl_exec($ci);

REQUIRED: plugin-activation.php. Themes should use add_theme_page() for adding admin pages. Line 335: add_submenu_page(

REQUIRED: innovative_panel_functions.php. Themes should use add_theme_page() for adding admin pages. Line 143: add_menu_page(theme_name.’ Settings’, theme_name ,’install_themes’, ‘panel’

RECOMMENDED: Possible variable $instance found in translation function in plugin-activation.php. Translation function calls must NOT contain PHP variables. Line 2043: echo ‘

menu, admin_url( TGM_Plugin_Activation::$instance->parent_url_slug ) ) . ’’ title=’’ . esc_attr( TGM_Plugin_Activation::$instance->strings[‘return’] ) . ’’ target=’parent’>’ . _( TGM_Plugin_Activation::$instance->strings[‘return’], ‘tgmpa’ ) . ‘<

1471 posts The Last Man Standing
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Sells items exclusively on Envato Market
+8 more
ImanGM says

Hi,

Please install this plugin too:

http://wordpress.org/plugins/themeforest-check/

and then check if errors are still there. You should only fix the issues that will appear after installing themeforest theme check plugin.

Cheers,
Iman

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by