Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter Dexmaster

    (@dexmaster)

    P.S. To install qTranslate X 3.3/3.4 I used Install via URL 1.2 plugin with .zip link from github releases page it worked pretty well. (I had no access to FTP at time of this installation)

    Thread Starter Dexmaster

    (@dexmaster)

    First I installed clean qTranslate X 3.4 and WooCommerce & qTranslate-X 1.1 on almost clean website with WooCommerce 2.4.6 and WordPress 4.3

    I coldn’t Activate “WooCommerce & qTranslate-X” after activating qTranslate X 3.4.

    I just disabled & deleted qTransalte X 3.4 though WordPress admin when it asked to remove files I said yes.

    Then I installed qTransalte X 3.3 and it worked like a charm. Everything works, except two problems I mentioned.

    Advanced Custom Fields: qTranslate Version 1.7.3
    Advanced Custom Fields Version 4.4.0
    qTranslate Plus Version 2.7.2

    Close problem

    TypeError: acf.o is null
    ( advanced-custom-fields/js/input.min.js?ver=4.4.0 line 1, column 7142 )

    Thus happens ACF js files on every Admin page (plugin includes on all admin pages, not only on ACF ones) and then shows errors:

    ‘{“ajaxurl”:””,”admin_url”:””,”wp_version”:””,”post_id”:0,”nonce”:””,”l10n”:null,”o”:null,”helpers”:{},”validation”:{“status”:true,”disabled”:false},”conditional_logic”:{“items”:[]},”media”:{“div”:null,”frame”:null,”render_timout”:null},”fields”:{“date_picker”:{“$el”:null,”$input”:null,”$hidden”:null,”o”:{}},”color_picker”:{“$el”:null,”$input”:null},”Image”:null,”file”:{“$el”:null,”$input”:null,”o”:{}},”wysiwyg”:{“$el”:null,”$textarea”:null,”o”:{}},”gallery”:{“text”:{“title_add”:”Select Images”}},”relationship”:{“$el”:null,”$input”:null,”$left”:null,”$right”:null,”o”:{},”timeout”:null},”google_map”:{“$el”:null,”$input”:null,”o”:{},”ready”:false,”geocoder”:false,”map”:false,”maps”:{}},”image”:{“$el”:null,”$input”:null,”o”:{},”text”:{“title_add”:”Select Image”,”title_edit”:”Edit Image”}},”radio”:{“$el”:null,”$input”:null,”$other”:null,”farbtastic”:null},”tab”:{}},”screen”:{“action”:”acf/location/match_field_groups_ajax”,”post_id”:0,”page_template”:0,”page_parent”:0,”page_type”:0,”post_category”:0,”post_format”:0,”taxonomy”:0,”lang”:0,”nonce”:0}}’

    Thread Starter Dexmaster

    (@dexmaster)

    Thanks )

    Thread Starter Dexmaster

    (@dexmaster)

    Oh sorry it’s already fixed. Just found some custom taxonomies code needed ))

    If I remember correctly it looks like this:

    function qtranslate_edit_taxonomies(){
        $args=array(
            'public' => true ,
            '_builtin' => false
        );
        $output = 'object'; // or objects
        $operator = 'and'; // 'and' or 'or'
    
        $taxonomies = get_taxonomies($args,$output,$operator);
    
        if ($taxonomies) {
            foreach ($taxonomies as $taxonomy ) {
                add_action( $taxonomy->name.'_add_form', 'qtrans_modifyTermFormFor');
                add_action( $taxonomy->name.'_edit_form', 'qtrans_modifyTermFormFor');
            }
        }
    }
    add_action('admin_init', 'qtranslate_edit_taxonomies');

    It ads qTranslate support to the editor and helps later with options creation and editing ) (I later found out everything else but this helped a lot)

    Also thanks for the reply!

    Forum: Fixing WordPress
    In reply to: White Screen

    It means you had a simple mistake in .php script of plugin, firs of all you must check script file and correct all structural mistakes.
    Find error_reports/error_logs(php/apache) and find out what function or file created this white-screen this will greatly help with this task (there will be file and line of problem that broke code)

    Forum: Fixing WordPress
    In reply to: White Screen

    First of all find error_reports/error_logs(php/apache) and find out what function or file created this white-screen (there will be written error “[<date>] PHP Parse error: syntax error, unexpected ‘X’ in <file>.php on line <nn>” or “[<date>] PHP Fatal error: Cannot redeclare <func> in <file>.php on line <nn>” ). These reports cane be in administration panel of your hosting service, or in root_folder/logs_folder/error_folder of site ftp.

    Forum: Fixing WordPress
    In reply to: White Screen
    Dexmaster

    (@dexmaster)

    Forum: Fixing WordPress
    In reply to: White Screen
    Dexmaster

    (@dexmaster)

    as I see it after cleaning up child theme
    you must fix “functions.php” file of your child theme

    Forum: Fixing WordPress
    In reply to: White Screen
    Dexmaster

    (@dexmaster)

    that’s why your child theme mustn’t re-declare main theme functions
    your child function redeclared
    the same function in file
    “/vulcan-child1/functions.php” on line 40
    that was already declared in file
    “/vulcan/functions.php” on line 59

    Forum: Fixing WordPress
    In reply to: White Screen
    Dexmaster

    (@dexmaster)

    files can be empty they are just called… you mustn’t copy files from main theme to child just create empty files that are needed, must fix it clean up your vulcan child theme leave only child files, your functions mustn’t be declared few times

    Forum: Fixing WordPress
    In reply to: White Screen
    Dexmaster

    (@dexmaster)

    as you can see your “wp-content/themes/vulcan-child1/admin/admin-functions.php” is lost you must create it or copy from backup if you had it before

    Forum: Fixing WordPress
    In reply to: White Screen

    Or it could be as follows this file was not created but was asked in your
    “/wp-includes/functions.php” on line 6 (look for work line not comments)
    there will be something like require_once(TEMPLATEPATH/functions/admin-setup.php)

    Forum: Fixing WordPress
    In reply to: White Screen

    You already wrote an answer to your question the file is missing “TEMPLATEPATH/functions/admin-setup.php”

Viewing 15 replies - 1 through 15 (of 21 total)