Viewing 27 posts - 1 through 27 (of 27 total)
  • Author
    Posts
  • #1413087

    See error below.

    #1413122
    This reply has been marked as private.
    #1413141

    Hi 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,
    Nikko

    #1413146

    I 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);

    #1413148

    Hi 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,
    Nikko

    #1413160

    I 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.

    #1413172

    Is there anything else I can try?

    #1413176

    Hi 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,
    Nikko

    #1413268
    This reply has been marked as private.
    #1413324

    Hi 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,
    Nikko

    #1413353

    looks 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.45

    #1413386
    This reply has been marked as private.
    #1413409

    Hi 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,
    Nikko

    #1413444

    Awesome 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.

    #1413449

    Hi 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 Compression

    I hope this helps.

    Best regards,
    Nikko

    #1414317
    This reply has been marked as private.
    #1414318
    This reply has been marked as private.
    #1414329

    Hi Obrmarketing,

    Is this different from the previous one? (private content)

    Best regards,
    Nikko

    #1414332

    Looks to be the same error just updated the theme as suggested and created a new staging server, thus the ip address change.

    #1414334

    host ip and key for SFTP access are the new ones I provided

    • This reply was modified 1 year, 4 months ago by Obrmarketing.
    #1414457

    Hi 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,
    Nikko

    #1414476
    This reply has been marked as private.
    #1414566

    Just 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?

    #1414650
    This reply has been marked as private.
    #1414664

    Hi Obrmarketing,

    I apologize for the delay.
    The fatal error is fixed, please check.

    Best regards,
    Nikko

    #1414668

    Awesome! Thank you Nikko really appreciate the help. Just for my knowledge, what fixed it? I was literally trying everything last night. Thanks.

    #1414680

    Hi 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

Viewing 27 posts - 1 through 27 (of 27 total)
  • You must be logged in to reply to this topic.