Title: dev's Replies - page 6 | WordPress.org

---

# dev

  [  ](https://wordpress.org/support/users/devksec/)

 *   [Profile](https://wordpress.org/support/users/devksec/)
 *   [Topics Started](https://wordpress.org/support/users/devksec/topics/)
 *   [Replies Created](https://wordpress.org/support/users/devksec/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/devksec/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/devksec/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/devksec/engagements/)
 *   [Favorites](https://wordpress.org/support/users/devksec/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 76 through 90 (of 264 total)

[←](https://wordpress.org/support/users/devksec/replies/page/5/?output_format=md)
[1](https://wordpress.org/support/users/devksec/replies/?output_format=md) [2](https://wordpress.org/support/users/devksec/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/devksec/replies/page/3/?output_format=md)…
[5](https://wordpress.org/support/users/devksec/replies/page/5/?output_format=md)
6 [7](https://wordpress.org/support/users/devksec/replies/page/7/?output_format=md)…
[16](https://wordpress.org/support/users/devksec/replies/page/16/?output_format=md)
[17](https://wordpress.org/support/users/devksec/replies/page/17/?output_format=md)
[18](https://wordpress.org/support/users/devksec/replies/page/18/?output_format=md)
[→](https://wordpress.org/support/users/devksec/replies/page/7/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Payment Gateway of Stripe for WooCommerce] New version, multiple stores and one stripe account.](https://wordpress.org/support/topic/new-version-multiple-stores-and-one-stripe-account/)
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/new-version-multiple-stores-and-one-stripe-account/#post-18079242)
 * Hello,
 * Thanks, we’ll try that soon.
 * For the logs, I did email your support@ but no response to any of the last few
   tickets or emails/.
   here are the redacted logs
 * parameter_missing – enabled_events
 *     ```wp-block-code
       Missing required param: enabled_events{"api_version": "2024-09-30.acacia","connect": "false","description": "","enumeratively_enabled_all_events_during_creation": "false","url": "https://site.website.com/?wc-api=wt_stripe","enabled_events":}Response body{"error": {"code": "parameter_missing","doc_url": "https://stripe.com/docs/error-codes/parameter-missing","message": "Missing required param: enabled_events.","message_code": "missing_required_parameter","param": "enabled_events","request_log_url": "https://dashboard.stripe.com/logs/req_J*?t=1728898689","type": "invalid_request_error"}}Request query parameters{"include_only": ["id,livemode,metadata,object,secret,status,url,api_version,application,created,description,enabled_events"]}Request POST body{"api_version": "2024-09-30.acacia","connect": "false","description": "","enumeratively_enabled_all_events_during_creation": "false","url": "https://site.website.com/?wc-api=wt_stripe"}
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Payment Gateway of Stripe for WooCommerce] New version, multiple stores and one stripe account.](https://wordpress.org/support/topic/new-version-multiple-stores-and-one-stripe-account/)
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/new-version-multiple-stores-and-one-stripe-account/#post-18073632)
 * Hello,
 * Yes, we had stripe with webtoffee setup before without issue using keys. It’s
   a multisite setup, 3 stores are subsites.
 * The connection process appears to work fine but when you go to checkout and try
   to pay with stripe checkout, you get the API error when attempting to pay. 
   We
   then can’t seem to disconnect or remove the connection, despite it being uninstalled/
   revoked within stripe the wordpress interfaces shows it as connected to our account.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Payment Gateway of Stripe for WooCommerce] New version, multiple stores and one stripe account.](https://wordpress.org/support/topic/new-version-multiple-stores-and-one-stripe-account/)
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/new-version-multiple-stores-and-one-stripe-account/#post-18071181)
 * Rolling back is the only way to restore functionality.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Payment Gateway of Stripe for WooCommerce] New version, multiple stores and one stripe account.](https://wordpress.org/support/topic/new-version-multiple-stores-and-one-stripe-account/)
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/new-version-multiple-stores-and-one-stripe-account/#post-18071127)
 * We’ve also removed the app and revoked access, but the plugin keeps saying it’s
   activated and working. There’s no way for it to be resetup.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Tutor LMS trainer pages](https://wordpress.org/support/topic/tutor-lms-trainer-pages/)
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/tutor-lms-trainer-pages/#post-18049532)
 * This affects all profile pages, not just trainers but also students.
 * 
   Here is some code as a workaround but there are a few things to note:
    1. I’ve not been able to override the yoast og:description with the profile biography
    2. the cover photo is the featured image, else there it uses the profile image
 * // Override the Yoast SEO Open Graph title for Tutor LMS profile pages
   add_filter(‘
   wpseo_opengraph_title’, ‘custom_tutor_lms_og_title’, 99);function custom_tutor_lms_og_title(
   $title) {if (is_tutor_profile_page()) {$user = get_current_profile_user();if (
   $user) {$profile_name = $user->display_name;$site_name = get_bloginfo(‘name’);
   return $profile_name . ‘ – ‘ . $site_name;}}return $title;}
 * // Override the Yoast SEO Open Graph URL for Tutor LMS profile pages
   add_filter(‘
   wpseo_opengraph_url’, ‘custom_tutor_lms_og_url’, 99);function custom_tutor_lms_og_url(
   $url) {if (is_tutor_profile_page()) {$user = get_current_profile_user();if ($
   user) {return home_url(‘/profile/’ . $user->user_nicename . ‘/’);}}return $url;}
 * // Override the Yoast SEO Open Graph image for Tutor LMS profile pages
   add_filter(‘
   wpseo_opengraph_image’, ‘custom_tutor_lms_og_image’, 99);function custom_tutor_lms_og_image(
   $image) {if (is_tutor_profile_page()) {$cover_photo = get_tutor_profile_cover_photo();
   if ($cover_photo) {return $cover_photo;} else {$profile_photo = get_tutor_profile_photo();
   if ($profile_photo) {return $profile_photo;}}}return $image;}
 * // Helper function to check if we are on a Tutor LMS profile page
   function is_tutor_profile_page(){
   return (strpos($_SERVER[‘REQUEST_URI’], ‘/profile/’) !== false);}
 * // Helper function to get the current profile user based on the URL
   function 
   get_current_profile_user() {$profile_slug = trim(parse_url($_SERVER[‘REQUEST_URI’],
   PHP_URL_PATH), ‘/’);$profile_parts = explode(‘/’, $profile_slug);
 *     ```wp-block-code
       if (count($profile_parts) > 1 && $profile_parts[0] === 'profile') {
           return get_user_by('slug', $profile_parts[1]);
       }
       return null;
       ```
   
 * }
 * // Helper function to get the Tutor LMS profile cover photo URL
   function get_tutor_profile_cover_photo(){
   $user = get_current_profile_user();if ($user) {$cover_photo = get_user_meta($
   user->ID, ‘_tutor_cover_photo’, true);if (is_numeric($cover_photo)) {// If the
   cover photo is a media ID, get the actual URL$cover_photo_url = wp_get_attachment_url(
   $cover_photo);if ($cover_photo_url) {return esc_url($cover_photo_url);}} elseif(
   $cover_photo) {// If it’s already a URLreturn esc_url($cover_photo);}}return 
   null;}
 * // Helper function to get the Tutor LMS profile photo URL (as a fallback if cover
   photo is not set)
   function get_tutor_profile_photo() {$user = get_current_profile_user();
   if ($user) {$profile_photo = get_user_meta($user->ID, ‘_tutor_profile_photo’,
   true);if (is_numeric($profile_photo)) {// If the profile photo is a media ID,
   get the actual URL$profile_photo_url = wp_get_attachment_url($profile_photo);
   if ($profile_photo_url) {return esc_url($profile_photo_url);}} elseif ($profile_photo){//
   If it’s already a URLreturn esc_url($profile_photo);}// Fallback to WordPress
   avatar if no profile photo is setreturn get_avatar_url($user->ID);}return null;}
   here is part of the bio code which was not working$bio = get_tutor_profile_biography();
   if ($bio) { echo ‘<meta property=”og:description” content=”‘ . esc_attr(wp_strip_all_tags(
   $bio)) . ‘”>’ . PHP_EOL; } else {
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Tutor LMS trainer pages](https://wordpress.org/support/topic/tutor-lms-trainer-pages/)
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/tutor-lms-trainer-pages/#post-18049238)
 * Hello,
 * I can send one via email but the issue is the trainer pages page title showing
   as ” **Blog – (Name of Website)**.” . There’s no way to resolve this within yoast
   or change them either.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] critical error](https://wordpress.org/support/topic/critical-error-719/)
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/critical-error-719/#post-18003396)
 * Found the error in a log, unsure yet and will try replicate.
 * PHP v 8.2.22
 * WordPress v6.6.1
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Tutor LMS - eLearning and online course solution] How to clean Autoloaded files](https://wordpress.org/support/topic/how-to-clean-autoloaded-files/)
 *  [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/how-to-clean-autoloaded-files/#post-17991779)
 * We have tutor_settings_log within the DB as well, also autoloaded.
 * If you go to “Tutor MS > Tools > Import/Export” you will see the saved settings
   history.
 * Really there should be an option to disable, remove all backups, or finer control
   over keeping them. E.G deleted after X number or X days.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPML Multilingual & Multicurrency for WooCommerce] cookie based sets multiple cookies](https://wordpress.org/support/topic/cookie-based-sets-multiple-cookies/)
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/cookie-based-sets-multiple-cookies/#post-17864106)
 * Great, do you know what the cause is or what’s triggering it?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPML Multilingual & Multicurrency for WooCommerce] cookie based sets multiple cookies](https://wordpress.org/support/topic/cookie-based-sets-multiple-cookies/)
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/cookie-based-sets-multiple-cookies/#post-17861400)
 * Hello,
 * Can you provide an email address to send them to? Will be easier so I can include
   photos also.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPML Multilingual & Multicurrency for WooCommerce] cookie based sets multiple cookies](https://wordpress.org/support/topic/cookie-based-sets-multiple-cookies/)
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/cookie-based-sets-multiple-cookies/#post-17860154)
 * Hello,
 * This is on the WCML standalone version not WPML core. We used to use WPML long
   time ago but caused too many issues, so only use WCML standalone. 
   Litespeed 
   requires specific hosting server, not just the plugin and we’re using a complex
   site so not possible to setup in sandbox.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Gift Cards for WooCommerce] “Sorry, your nonce not verify. Please try again !”](https://wordpress.org/support/topic/sorry-your-nonce-not-verify-please-try-again/)
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/sorry-your-nonce-not-verify-please-try-again/#post-17806553)
 * These carts do not even had gift cards in, but the error is from this plugin 
   at checkout.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Gift Cards for WooCommerce] “Sorry, your nonce not verify. Please try again !”](https://wordpress.org/support/topic/sorry-your-nonce-not-verify-please-try-again/)
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/sorry-your-nonce-not-verify-please-try-again/#post-17806094)
 * Hello,
 * Because the cart page is already excluded, this doesn’t solve the issue.
 * Any ideas how to fix?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Tutor LMS - eLearning and online course solution] [BUG]: Mobile users (iOS/Android) cannot start learning course from course page](https://wordpress.org/support/topic/bug-mobile-users-ios-android-cannot-start-learning-course-from-course-page/)
 *  [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/bug-mobile-users-ios-android-cannot-start-learning-course-from-course-page/#post-17800716)
 * [@jobayertuser](https://wordpress.org/support/users/jobayertuser/) no error, 
   the form doesn’t submit or even attempt to submit. No request is made when the
   enroll button is pressed, seems the JS is broken for it.
 * Outside of the course page (E.G course filter pages etc) it just redirects to
   the course page.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Tutor LMS - eLearning and online course solution] [BUG]: Mobile users (iOS/Android) cannot start learning course from course page](https://wordpress.org/support/topic/bug-mobile-users-ios-android-cannot-start-learning-course-from-course-page/)
 *  [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/bug-mobile-users-ios-android-cannot-start-learning-course-from-course-page/#post-17797114)
 * Found a workaround, disable “Enable Guest Mode – Allow customers to place orders
   without an account. “

Viewing 15 replies - 76 through 90 (of 264 total)

[←](https://wordpress.org/support/users/devksec/replies/page/5/?output_format=md)
[1](https://wordpress.org/support/users/devksec/replies/?output_format=md) [2](https://wordpress.org/support/users/devksec/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/devksec/replies/page/3/?output_format=md)…
[5](https://wordpress.org/support/users/devksec/replies/page/5/?output_format=md)
6 [7](https://wordpress.org/support/users/devksec/replies/page/7/?output_format=md)…
[16](https://wordpress.org/support/users/devksec/replies/page/16/?output_format=md)
[17](https://wordpress.org/support/users/devksec/replies/page/17/?output_format=md)
[18](https://wordpress.org/support/users/devksec/replies/page/18/?output_format=md)
[→](https://wordpress.org/support/users/devksec/replies/page/7/?output_format=md)