Fatal Error - by Warget - on WordPress WooCommerce support

This topic has 7 replies, 2 voices, and was last updated 4 years, 2 months ago ago by Warget

  • Avatar: Warget
    Warget
    Participant
    March 21, 2021 at 22:59

    Hello everybody.
    I currently have a big problem.
    I did all the design of my site but after trying to modify “related product” I got an error.

    I modify:
    Xstore – wp-content – single-product – related.php.

    I modify the line 28.. ‘esc_html__( ‘Related products’, ‘xstore’ ) );

    I put back the same word but still not working..
    the error is : call_user_func_array() expects parameter 1 to be a valid callback, function ‘change_rp_text’ not found or invalid function name in /home/clients/1f3eb759cce54adf4a69fbe3bac4b9b3/web/wp-includes/class-wp-hook.php on line 292

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    March 22, 2021 at 11:46

    Hello,

    1) We can’t connect to your FTP https://prnt.sc/10se1nz So, provide us with correct FTP access and also WP Dashboard access to your site.
    2) Did you want just to translate the “Related products” title? Why don’t you use translation files for these purposes?

    Regards

    Avatar: Warget
    Warget
    Participant
    March 22, 2021 at 13:45

    I think I misunderstood the doc for the translation.

    My English is approximate, please help me.
    I send you the good ftp this time
    Pleasure, warget.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    March 22, 2021 at 16:41

    Hello,

    What about WP Dashboard access?

    Regards

    Avatar: Warget
    Warget
    Participant
    March 22, 2021 at 21:57

    Not possible. Everything is in error.

    I don’t undestand, I change 1 word in related.php and now nothing work ?!

    I put same word back and still not working ???

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    March 23, 2021 at 09:48

    Hello,

    I removed your custom code https://prnt.sc/10t9ljn and warnings disappear. Use translation files to translate theme and XStore core plugin https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/

    Regards

    Avatar: Warget
    Warget
    Participant
    March 23, 2021 at 09:58

    Big thank’s your theme is very cool !
    i recommande IT !

  • Viewing 7 results - 1 through 7 (of 7 total)

The issue related to '‘Fatal Error’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.