Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #208974

    While trying to get to work with Enfold and WPML. I’m running into quite some problems.

    At first I thought the problem was in WPML but now the WPML supports starts pointing at kriesi:

    http://wpml.org/forums/topic/404-after-switching-languages/page/2/#post-320149

    My problem: I bought a theme (enfold) and a Plugin (WPML) which both claim to be compatible with each other and it just does not work.

    I would realy apreciate some help.

    The latest problem is the javoscrip error : jvascrip error

    #208999

    Hi erikwillems!

    Can you post the link to your website? And please try deactivating all active plugins except for WPML and check if that helps

    Cheers!
    Yigit

    #209002

    hi yigit,
    I’ll send you a private reply, with a username and password. so you can log in.

    I’ve a plugin (indot under) with a countdown timer active.
    you need to add your ip to the white list, because if you dont you wont be able to see the website.

    rgds erik

    #209004
    This reply has been marked as private.
    #209113

    Hey!

    In your last post you wrote “I don’t know what happend, but now I can’t even load the temes page from the WP main menu. The screen goes totaly white.” – that’s probably a memory issue. Please try to increase the allocated php memory to 128M: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    and add following code to the wp-config.php file

    
    define( 'WP_MEMORY_LIMIT', '128M' );
    

    Cheers!
    Peter

    #209123

    Hey,

    Thanks for thinking along. That did not do the trick, I assumed it would not, but tried it anyway.

    I only can have 64 from my host. OK I use 88% of it, but are you sure that is the problem?

    thanks, Erik

    #209125

    Hi!

    I’m not sure but it can be even if you use “just” 88% of the memory because it’s an average value and does not take care of “peaks”. You can try to activate the debug mode: http://codex.wordpress.org/Editing_wp-config.php#Debug (insert the code in the wp-config.php) and then check if WP outputs an error message. You can also try to re-install all theme/plugin files – maybe one or more files are corrupt. You can try to deactivate all other third party plugins. This will reduce the memory usage and you can be sure it’s not a third party plugin conflict.

    Best regards,
    Peter

    #209139

    Hi!
    I added the line of code to the wp-config and it did not change a thing for me. I’m not into coding and I don’t want to be into that to be honest.

    Disabeling all plugins, did not make the page themes reachable again.

    I spend some money on a theme and a plugin that are supposed to be compatible, and now I’m already spending way to much time to make it work.

    I’m new to buying themes and plugins, but if “compatible” means so much work, than I’m not sure I totaly understand the word compatible :-)

    I expected that both plugins would easily work together on a fresh new install of wordpress.

    Is that too much to expect?

    Regards, erik

    #209171

    Hi!

    I looked into the wp-config.php and found that the debug cod was in there twice. once with value true and one with false.

    I only kept one with value true and now I got an error code when I tried to load the themes page.

    This is the error code :
    Fatal error: Cannot use object of type WP_Error as array in /usr/home/lmscar124/www/wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 344

    Please advise what to do.

    rgds, Erik

    #209416

    Hey!

    Please try following fix – open up wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php and replace

    
        $data = json_decode( $request['body'] );
    

    with

    
        if(is_wp_error($data)) return false;
        $data = json_decode( $request['body'] );
    

    We’ll add this if check to the next theme update if the fix works for you.

    Regards,
    Peter

    #209946

    Hey Peter,

    That did not do the trick.

    I got a new error note after appliing the code you suggested.

    Notice: Undefined variable: data in /usr/home/lmscar124/www/wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 344

    Fatal error: Cannot use object of type WP_Error as array in /usr/home/lmscar124/www/wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 345

    What I’ll do. I’ll be moving to a new server with more php memory 128M, and start with a clean install of WP, Enfold and WPML. And pray that it will work.

    #210582

    Hey!

    This is not an incompatibilty issue but a problem of the envato theme update api. You can try two things:

    1) Update the api file to the latest version – the code can be found here: https://github.com/envato/envato-wordpress-toolkit/blob/master/includes/class-envato-api.php – just delete the code in wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php and insert the updated code. I’m not sure if it will work though (I can’t test it).

    2) Deactivate the update api – insert following code into the child or parent theme functions.php file – i.e. insert it at the very bottom of the file

    
    add_theme_support('avia_manual_updates_only');
    

    Cheers!
    Peter

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘java script error’ is closed to new replies.