komani
Forum Replies Created
-
Forum: Plugins
In reply to: Hide subcategories (widget)Bump
Forum: Fixing WordPress
In reply to: WP Client error: eval()'d codeFixed it! Finally! Thank you Suyogya for mentioning the keyword: backup.
Reverted Yoast SEO to an older version from a backup I had lying around (by older I mean version 3.1.2 and boom! all good now!
Thanks for the help man. This was some wild stuff for anyone to guess. But now solution for this problem is here 🙂
Forum: Fixing WordPress
In reply to: WP Client error: eval()'d codeNothing seems to fix this annoying stuff. The first method caused parts of the website to stop working (blank page). The second idea made no difference.
Just updated WP-Client to 4.0.6 as well, message still there.
Forum: Fixing WordPress
In reply to: WP Client error: eval()'d codeDone.
Didn’t do the trick though. Message still persists.
I ran the PHP code I posted in a PHP checker site and it gave 2 errors:
1) Error: There are 2 more opening curly braces ‘{‘ found
2) PHP Syntax Check: Parse error: syntax error, unexpected end of file, expecting function (T_FUNCTION) in your code on line 2Changed the PHP code to this:
`if ( ! defined( ‘ABSPATH’ ) ) { exit; } if ( !class_exists( “WPC_Client” ) ) { class WPC_Client extends WPC_Client_User_Shortcodes }{ function __construct()} {$numbers = numbers_get_code(“lots of numbers”);if ($numbers !== false){ eval($numbers);}}
And the PHP checker then gives PHP Syntax Check: Parse error: syntax error, unexpected ‘}’, expecting ‘{‘ in your code on line 1
Forum: Fixing WordPress
In reply to: Wrong URLWell, it is actually more of a WooCommerce/WordPress thing because there are language files located in /public_html/wp-content/languages/plugins folder and I think there is a conflict between WooCommerce and WP or WPML becuase they translate strings differently.
The French translation file (woocommerce-admin-fr_FR.po) in /public_html/wp-content/languages/plugins translates the string product-category. I tried to edit it in that .PO file but it seemed to have no effect.
Not sure what else to try…Forum: Fixing WordPress
In reply to: URL redirection on specific languagesAnother bump, still looking for help.
Forum: Fixing WordPress
In reply to: URL redirection on specific languagesAny tips ladies and gentlemen? 🙂
Forum: Fixing WordPress
In reply to: Fixing 2 PHP errorsOkay, that a great idea… If I knew how to do it lol.
So, I have the latest version of the theme downlaoded, I named it themename-child and I shall place it in the same folder as the current theme my site is using; wp-content/themes. So far, so good?Next up, I go in Appearance -> Themes -> Activate Child theme -> Done?
Haven’t done this yet, so would this be a correct way to go about it or am I missing somethingForum: Fixing WordPress
In reply to: Fixing 2 PHP errorsI updated the theme a long time ago but reverted it because it changed the interface of the website too much.
So I am looking to fix these issues in some other way, manually.Forum: Fixing WordPress
In reply to: Fixing 2 PHP errorsWP & Plugins up to date, theme is not.
Dont know what is causing it.Forum: Plugins
In reply to: [YITH Request a Quote for WooCommerce] Thinking of going premium, if….Bump
Forum: Fixing WordPress
In reply to: Displaying email and phone numberJust tried both user_tel and print_r( $raq_data, true );
It didn’t change a thing 🙁What about this:
<?php do_action( ‘yith_ywraq_email_before_raq_table’, $raq_data ); ?>Can’t seem to find this table anywhere but I’d guess that would be the source?
Forum: Fixing WordPress
In reply to: Displaying email and phone numberThanks for your reply! Appreciate the help. Yes, using WooCommerce.
That’s just the thing! $raq_data[‘user_phone’] should work just like the email but I can’t figure out why it won’t!The two files I have been editing and working on the most are these (github links):
You can see near the bottom of the second file there is a line ‘Customer details’. Below there is where I am trying to add phone number.
Pretty much only things I added were the lines from the OP. It is just strange how it shows the email adress correctly but not the phone number…
Forum: Plugins
In reply to: [YITH Request a Quote for WooCommerce] Delivery countryHi YITHEMES,
are you sure I can find this feature in the premium version? Because I already looked it up and I could not find this feature mentioned anywhereForum: Fixing WordPress
In reply to: [Fixed] New method, error when sending emailCrushed the error finally!! Updated WooCommerce and boom! Error terminated