-
AuthorPosts
-
July 11, 2023 at 9:14 pm #1413087
See error below.
July 12, 2023 at 1:16 pm #1413122This reply has been marked as private.July 12, 2023 at 3:16 pm #1413141Hi Obrmarketing,
Thanks for providing the login credentials, however I can’t seem to access your site, please try to check Ismael’s solution on this thread: https://kriesi.at/support/topic/cannot-access-offset-of-type-string-on-string-in-includes-helper-assets-php-54/#post-1358429
Hope it helps.Best regards,
NikkoJuly 12, 2023 at 3:49 pm #1413146I have added the code to the themes function.php file and the error is still there and site not loading.
add_action(‘init’, function() {
avia_update_option(‘merge_css’, ‘none’);
avia_update_option(‘merge_js’, ‘none’);
}, 10);July 12, 2023 at 3:55 pm #1413148Hi Obrmarketing,
The code you posted seems to have a different single quote, can you try to manually replace all those single quotes?
add_action('init', function() { avia_update_option('merge_css', 'none'); avia_update_option('merge_js', 'none'); }, 10);
Best regards,
NikkoJuly 12, 2023 at 5:32 pm #1413160I have a screen shot from the functions file but I dont see a place to upload. I believe it has the right commas, how can I send this for your review ?
require_once( ‘functions-enfold.php’);
add_action(‘init’, function() {
avia_update_option(‘merge_css’, ‘none’);
avia_update_option(‘merge_js’, ‘none’);
}, 10);This is pasted from the server code.
July 12, 2023 at 9:27 pm #1413172Is there anything else I can try?
July 13, 2023 at 5:34 am #1413176Hi Obrmarketing,
Can you give us FTP access? so we can try to check on the issue further.
Just post the details in private content.Best regards,
NikkoJuly 14, 2023 at 5:52 am #1413268This reply has been marked as private.July 15, 2023 at 12:59 am #1413324Hi Obrmarketing,
I tried to connect to SFTP using Filezilla with the files you have provided however it doesn’t seem to work, please check the private content.
Best regards,
NikkoJuly 15, 2023 at 12:55 pm #1413353looks like you have the ip address twice . the username is bitnami and ip address is the 52..aa so for this command:
Command: open “ (Email address hidden if logged out) @52.15.117.45” 22
take off the second @52.15.117.45July 16, 2023 at 6:43 am #1413386This reply has been marked as private.July 16, 2023 at 3:27 pm #1413409Hi Obrmarketing,
Thanks, I was able to access it and it seems the reason why you are having this error is because you are using the latest version of WordPress (6.2.2) and Enfold 4.7.4 which has been released 3 years ago. The only way to fix this is to update to the latest version of Enfold (5.6.4) and you also need to update header.php and footer.php of your child theme.
Best regards,
NikkoJuly 17, 2023 at 12:17 am #1413444Awesome thanks for the info. Do you have steps on how to go about upgrading the theme? This is a development server I was creating for a site that is currently live, the site needs some edits, so I was going to do all the edits on the development server, make sure everything works properly, then push it to the live site.
July 17, 2023 at 5:35 am #1413449Hi Obrmarketing,
1. Make a backup:
– Site Backup: https://kriesi.at/documentation/enfold/backup-wordpress-site/
– Theme Settings Backup: https://kriesi.at/documentation/enfold/backup-theme-settings/2. Disable any caching or optimization plugins.
3. Update the theme via following options:
a. Update using Theme Update in Theme Options
b. Use Envato market plugin: https://envato.com/market-plugin/
c. Upload manually via Appearance > Themes and replace the old Enfold theme
d. Upload manually via cPanel or FTP
4. Review the updated staging site, if anything is messed up, go to Enfold > Theme Options > Performance, then disable CSS File Merging And Compression and Javascript File Merging And CompressionI hope this helps.
Best regards,
NikkoJuly 25, 2023 at 9:18 am #1414317This reply has been marked as private.July 25, 2023 at 9:22 am #1414318This reply has been marked as private.July 25, 2023 at 9:52 am #1414329Hi Obrmarketing,
Is this different from the previous one? (private content)
Best regards,
NikkoJuly 25, 2023 at 10:00 am #1414332Looks to be the same error just updated the theme as suggested and created a new staging server, thus the ip address change.
July 25, 2023 at 10:02 am #1414334host ip and key for SFTP access are the new ones I provided
- This reply was modified 1 year, 5 months ago by Obrmarketing.
July 26, 2023 at 2:23 am #1414457Hi Obrmarketing,
Can you make the permissions for the enfold folder writable?
It seems adding is allowed but replacing or removing is not permitted.
I tried changing the permission but is denied by the server.
Some files in Enfold might be corrupted so I am trying to replace those files with new ones but it only results to failed transfers.
If we have verified that there are no corrupted files, we will need to debug some files so we would need the files to be writable.Best regards,
NikkoJuly 26, 2023 at 4:44 am #1414476This reply has been marked as private.July 26, 2023 at 8:20 pm #1414566Just checking in, were you able to get the access you needed. I am actually having a time constraint with this client is there any other developers that can assist in diagnosing what the issue is so that we can get it resolved?
July 27, 2023 at 11:30 am #1414650This reply has been marked as private.July 27, 2023 at 12:39 pm #1414664Hi Obrmarketing,
I apologize for the delay.
The fatal error is fixed, please check.Best regards,
NikkoJuly 27, 2023 at 1:06 pm #1414668Awesome! Thank you Nikko really appreciate the help. Just for my knowledge, what fixed it? I was literally trying everything last night. Thanks.
July 27, 2023 at 3:13 pm #1414680Hi Obrmarketing,
For some reason $which_files instead of being a type of array, was type of string which was causing the issue.
I simply added this code:if (is_string($which_files)) { $which_files = []; }
above this line of code:
$which_files['css'] = $css_merging;
to make sure that $which_files is an array.
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.