Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter pi1ero

    (@pi1ero)

    So using Translatepress, we can translate into another language but we don’t have access to SEO data. (SEOpress)

    Thread Starter pi1ero

    (@pi1ero)

    I have the page in Italian where I worked with SEOpress for keywords.
    How do I “see” the page in English to work with SEOpress?

    Thread Starter pi1ero

    (@pi1ero)

    Maybe I need to add the TranslatePress SEO Pack Add-on?

    Thread Starter pi1ero

    (@pi1ero)

    Hi,
    If I use the default interface of WP I lose my texts.
    I don’t have direct access to the file …/en/…
    In the list of my pages I have ONLY the pages in Italian, I don’t have access to the pages in English, TranslatePress automatically creates the page …/en/…
    Do I have to change the translation plugin?

    Thread Starter pi1ero

    (@pi1ero)

    Hi,
    The English page doesn’t exist.
    I have the page in Italian which is translated with TranslatePress.
    If I want to change the page in English with SEO, what should I do?
    Thank you

    Thread Starter pi1ero

    (@pi1ero)

    After your last update (1.6.1), everything works perfectly !!
    Thanks

    Thread Starter pi1ero

    (@pi1ero)

    -Disable all plugins
    -I choose theme Twenty Nineteen – OK
    -I enter one plugin at a time (including TranslatePress) – OK
    -I choose my theme Kreativa (child) – does not work
    -deactivate TranslatePress – OK

    Thread Starter pi1ero

    (@pi1ero)

    This is the complete code of theme_functions.php

    // Will be called from slideshow script
    function kreativa_populate_slide_ui_colors($get_slideshow_from_page_id) {
    // Store slide data for jQuery
    $filter_image_ids = kreativa_get_custom_attachments ( $get_slideshow_from_page_id );
    if ($filter_image_ids){
    $slide_counter=0;
    $last_slide_count = count($filter_image_ids) – 1;
    echo ‘<ul id=”slideshow-data” data-lastslide=”‘.$last_slide_count.'”>’;
    foreach ( $filter_image_ids as $attachment_id) {
    $attachment = get_post( $attachment_id );

    if ( isSet($attachment->ID) ) {
    $fullURI = wp_get_attachment_image_src( $attachment_id, ‘full’, false );
    $fullURI = $fullURI[0];

    $thumbnailURI = wp_get_attachment_image_src( $attachment_id, ‘thumbnail’, false );
    $thumbnailURI = $thumbnailURI[0];

    $thumbnail_title = ”;
    if (isSet($attachment->post_title)) {
    $thumbnail_title = apply_filters(‘the_title’,$attachment->post_title);
    }

    $slide_color = get_post_meta( $attachment->ID, ‘mtheme_attachment_fullscreen_color’, true );
    if (!$slide_color) { $slide_color=”bright”;}
    echo ‘<li class=”slide-‘.$slide_counter.'” data-slide=”‘.$slide_counter.'” data-color=”‘.$slide_color.'” data-src=”‘.$fullURI.'” data-thumbnail=”‘.$thumbnailURI.'” data-title=”‘.$thumbnail_title.'”>‘;
    $slide_counter++;
    }
    }
    echo ‘‘;
    }
    }

    Thread Starter pi1ero

    (@pi1ero)

    I try with TranslatePress plugin only.
    This is the error:

    [Sat Oct 19 10:07:32.270513 2019] [:error] [pid 2106:tid 140458481575680] [client 190.8.66.26:45412] [client 190.8.66.26] ModSecurity: Warning. Pattern match “^[\\\\d.:]+$” at REQUEST_HEADERS:Host. [file “/usr/share/modsecurity-crs/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf”] [line “793”] [id “920350”] [rev “2”] [msg “Host header is a numeric IP address”] [data “137.74.97.120:80”] [severity “WARNING”] [ver “OWASP_CRS/3.0.0”] [maturity “9”] [accuracy “9”] [tag “application-multi”] [tag “language-multi”] [tag “platform-multi”] [tag “attack-protocol”] [tag “OWASP_CRS/PROTOCOL_VIOLATION/IP_HOST”] [tag “WASCTC/WASC-21”] [tag “OWASP_TOP_10/A7”] [tag “PCI/6.5.10”] [hostname “137.74.97.120”] [uri “/”] [unique_id “XarERF4XBcYAAAg6glIAAASB”]
    [Sat Oct 19 10:22:36.364637 2019] [proxy_fcgi:error] [pid 3259:tid 140458332231424] [client 93.71.222.241:49876] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function trp_woo_translate_product_title_added_to_cart(), 1 passed in /home/web/www.mazzanti.it/www/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /home/web/www.mazzanti.it/www/wp-content/plugins/translatepress-multilingual/includes/functions.php:881\nStack trace:\n#0 /home/web/www.mazzanti.it/www/wp-includes/class-wp-hook.php(286): trp_woo_translate_product_title_added_to_cart(‘The call of nat…’)\n#1 /home/web/www.mazzanti.it/www/wp-includes/plugin.php(208): WP_Hook->apply_filters(‘The call of nat…’, Array)\n#2 /home/web/www.mazzanti.it/www/wp-content/themes/kreativa/framework/functions/theme-functions.php(1298): apply_filters(‘the_title’, ‘The call of nat…’)\n#3 /home/web/www.mazzanti.it/www/wp-content/themes/kreativa/template-parts/fullscreen/fullscreen-supersized.php(73): kreativa_populate_slide_ui_colors(’89’)\n#4 /home/web/www.mazzanti.it/www/wp-includes/template.php(724): require(‘/home/web…’

    Thread Starter pi1ero

    (@pi1ero)

    This is the theme-functions.php :

    1298:
    $thumbnail_title = ”;
    if (isSet($attachment->post_title)) {
    $thumbnail_title = apply_filters(‘the_title’,$attachment->post_title);
    }
    In the theme there is a file wpml-config.xml
    <wpml-config>
    <admin-texts>
    <key name=”mtheme_main_logo” />
    <key name=”mtheme_responsive_logo” />
    <key name=”mtheme_preloader_logo” />
    <key name=”mtheme_rightclick_disabletext” />
    <key name=”mtheme_404_title” />
    <key name=”mtheme_read_more” />
    <key name=”mtheme_portfolio_singular_refer” />
    <key name=”mtheme_portfolio_plural_refer” />
    <key name=”mtheme_portfolio_link_text” />
    <key name=”mtheme_portfolio_client_refer” />
    <key name=”mtheme_portfolio_skill_refer” />
    <key name=”mtheme_portfolio_allitems” />
    <key name=”mtheme_footer_copyright” />
    </admin-texts>
    </wpml-config>

    Thread Starter pi1ero

    (@pi1ero)

    Log error:
    [proxy_fcgi:error] [pid 18238:tid 139959310685952] [client 93.71.222.241:53554] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function trp_woo_translate_product_title_added_to_cart(), 1 passed in /home/web/www.mazzanti.it/www/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /home/web/www.mazzanti.it/www/wp-content/plugins/translatepress-multilingual/includes/functions.php:881\nStack trace:\n#0 /home/web/www.mazzanti.it/www/wp-includes/class-wp-hook.php(286): trp_woo_translate_product_title_added_to_cart(‘The call of nat…’)\n#1 /home/web/www.mazzanti.it/www/wp-includes/plugin.php(208): WP_Hook->apply_filters(‘The call of nat…’, Array)\n#2 /home/web/www.mazzanti.it/www/wp-content/themes/kreativa/framework/functions/theme-functions.php(1298): apply_filters(‘the_title’, ‘The call of nat…’)\n#3 /home/web/www.mazzanti.it/www/wp-content/themes/kreativa/template-parts/fullscreen/fullscreen-supersized.php(

Viewing 11 replies - 1 through 11 (of 11 total)