I am not able to update Salient on my Wordpress site as I am getting this code.
Can you advise?
e_function() is deprecated in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-content/themes/salient/functions.php on line 5024 Warning: Cannot modify header information - headers already sent by (output started at /customers/5/6/e/wesee-i2i.com/httpd.www/wp-content/themes/salient/functions.php:5024) in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-includes/functions.php on line 5946 Warning: Cannot modify header information - headers already sent by (output started at /customers/5/6/e/wesee-i2i.com/httpd.www/wp-content/themes/salient/functions.php:5024) in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-admin/includes/misc.php on line 1252 Warning: Cannot modify header information - headers already sent by (output started at /customers/5/6/e/wesee-i2i.com/httpd.www/wp-content/themes/salient/functions.php:5024) in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-admin/admin-header.php on line 9
Thanks Andrew. It's PHP version 7.3 and they said the max execution time is by default 50 seconds. Could this be a problem?
I'm also confused about this token and having to use the envato market plugin. Can you explain that? Should I upload the plugin directly from the docs you can download? How do I upload the new version of Salient?
Also someone advised me that the meaning of the code appearing on the site means:
the theme is using a function that exists but is now deprecated / been replaced and may be removed in the future. You have WordPress set to display warnings, hence the change to your wp-config.php file. Be careful though as edits done to wp-config.php can break the site if not done correctly. In this case you are just replacing the word 'true' with 'false', note the apostrophes.
It could be a issue, increase to be a value greater than 100.
The benefit of using envato plugin is that once everything is set up then you can quickly and efficiently update theme and also receive notifications.
Download as it is in the documentation and install like any other plugin. Follow the detailed instruction in the docs.
Once the Envato API connection is made from the Settings page, a list of available Themes will be shown. Any available theme updates can be applied there.
Step 2. Upload the plugin .zip via the Plugins > Add New section of the WordPress admin dashboard
Step 3. Click Install Now and then Activate Plugin
Step 4. Now head to the Envato Market plugin page and click on the Generate a personal token link. We’re going to generate a token from Envato that will allow a connection between the plugin and ThemeForest.
This is what I'm seeing when I unpack the envato-market,zip (see attachment) what do I upload and how do I do that?
I did what you said and got this so I can't log in again:
Warning: in_array() expects parameter 2 to be array, string given in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-admin/includes/plugin.php on line 639 Warning: Cannot modify header information - headers already sent by (output started at /customers/5/6/e/wesee-i2i.com/httpd.www/wp-admin/includes/plugin.php:639) in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-includes/pluggable.php on line 1265 Warning: Cannot modify header information - headers already sent by (output started at /customers/5/6/e/wesee-i2i.com/httpd.www/wp-admin/includes/plugin.php:639) in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-includes/pluggable.php on line 1268 Fatal error: Uncaught Error: [] operator not supported for strings in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-admin/includes/plugin.php:690 Stack trace: #0 /customers/5/6/e/wesee-i2i.com/httpd.www/wp-admin/plugins.php(44): activate_plugin('envato-market/e...', 'https://wesee-i...', false) #1 {main} thrown in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-admin/includes/plugin.php on line 690
I am not able to update Salient on my Wordpress site as I am getting this code.
Can you advise?
e_function() is deprecated in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-content/themes/salient/functions.php on line 5024 Warning: Cannot modify header information - headers already sent by (output started at /customers/5/6/e/wesee-i2i.com/httpd.www/wp-content/themes/salient/functions.php:5024) in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-includes/functions.php on line 5946 Warning: Cannot modify header information - headers already sent by (output started at /customers/5/6/e/wesee-i2i.com/httpd.www/wp-content/themes/salient/functions.php:5024) in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-admin/includes/misc.php on line 1252 Warning: Cannot modify header information - headers already sent by (output started at /customers/5/6/e/wesee-i2i.com/httpd.www/wp-content/themes/salient/functions.php:5024) in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-admin/admin-header.php on line 9
Hi Julia,
Thanks for getting in touch.
Check PHP Settings and make sure you are using version 7 of PHP.
Recommended PHP configuration limits are as follows:
Please have your hosting provider fix this for you so it can be updated correctly.
Update the theme by following this guide: http://themenectar.com/docs/salient/updating-salient/
Hope this helps.
Thanks Andrew. It's PHP version 7.3 and they said the max execution time is by default 50 seconds. Could this be a problem?
I'm also confused about this token and having to use the envato market plugin. Can you explain that? Should I upload the plugin directly from the docs you can download? How do I upload the new version of Salient?
Also someone advised me that the meaning of the code appearing on the site means:
the theme is using a function that exists but is now deprecated / been replaced and may be removed in the future. You have WordPress set to display warnings, hence the change to your wp-config.php file. Be careful though as edits done to wp-config.php can break the site if not done correctly. In this case you are just replacing the word 'true' with 'false', note the apostrophes.
Is this correct?
Hi Julia,
It could be a issue, increase to be a value greater than 100.
The benefit of using envato plugin is that once everything is set up then you can quickly and efficiently update theme and also receive notifications.
Download as it is in the documentation and install like any other plugin. Follow the detailed instruction in the docs.
Once the Envato API connection is made from the Settings page, a list of available Themes will be shown. Any available theme updates can be applied there.
Hope this helps.
Hi Andrew, I'm confused as to how to do this.
In one place it says:
And in another it says:
This is what I'm seeing when I unpack the envato-market,zip (see attachment) what do I upload and how do I do that?
Thanks,
Julia
Hi Andrew,
I did what you said and got this so I can't log in again:
Warning: in_array() expects parameter 2 to be array, string given in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-admin/includes/plugin.php on line 639 Warning: Cannot modify header information - headers already sent by (output started at /customers/5/6/e/wesee-i2i.com/httpd.www/wp-admin/includes/plugin.php:639) in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-includes/pluggable.php on line 1265 Warning: Cannot modify header information - headers already sent by (output started at /customers/5/6/e/wesee-i2i.com/httpd.www/wp-admin/includes/plugin.php:639) in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-includes/pluggable.php on line 1268 Fatal error: Uncaught Error: [] operator not supported for strings in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-admin/includes/plugin.php:690 Stack trace: #0 /customers/5/6/e/wesee-i2i.com/httpd.www/wp-admin/plugins.php(44): activate_plugin('envato-market/e...', 'https://wesee-i...', false) #1 {main} thrown in /customers/5/6/e/wesee-i2i.com/httpd.www/wp-admin/includes/plugin.php on line 690
I'm really fed up and don't know what to do next.
Can you help?
Julia
Hey Again,
Please see: https://www.hostinger.com/tutorials/cannot-modify-header-information .
Best
ThemeNectar Support Team