• Resolved mvarela

    (@mvarela)


    We are using the WordPress My-Account function to manage profiles. When the shortcut is placed in a tab, the “Edit Addresses” and “Edit Payment Methods” links get changed incorrectly to an unknown page, throwing a 404 error. The Correct link below is from the My-Account shortcut NOT in a tab, and the Incorrect link is what’s generated using the same My-Account shortcut when placed in a Tab:

    Correct link: https://www.####.com/my-account/edit-address/billing/

    Incorrect link: https://www.####.com/edit-address/billing/?p=23420

    I have looked at the permalinks, and have exhausted all other options. Does anyone have any ideas what may be happening with this?

    Thanks in advance,
    Manny

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 18 total)
  • Praveen

    (@praveenmalav09)

    Hi @mvarela,

    The URL you shared is not valid please share a valid URL so we can resolve your issue.

    Thanks

    Thread Starter mvarela

    (@mvarela)

    Hello @praveenmalav09,

    In order to experience the issue, you must first register for an account at the Mile2 website here: https://www.mile2.com/my-account/

    Once you have gained access to your “My Account”, from the “My Profile” tab, please choose “Addresses” from the menu. Then, attempt to “Edit” the “Business Address”. You will experience the 404 error at this point.

    The link incorrectly contains: https://www.mile2.com/edit-address/billing/?p=23420

    The correct link should be: https://www.mile2.com/my-account/edit-address/billing/

    Somehow the link is different than when the “My-Account” plugin is standalone and outside of the “Tabs” plugin.

    Let me know if you need more information.

    Manny

    Praveen

    (@praveenmalav09)

    Hi @mvarela,

    It is a confliction with other plugins or themes please deactivate some plugins and also change the theme and check which plugin is conflicting and again activate the plugins and activate the original theme.

    Thanks

    Thread Starter mvarela

    (@mvarela)

    Hi @praveenmalav09,

    Unfortunately, we cannot deactivate other plugins. We have vital functionality that are required to run our web features. Nor can we change the theme, which is also crucial to our website functionality. Though we like the functionality of the Tabs plugin, it is not a vital feature. If we cannot diagnose this issue and determine a fix, then we will have forced to find and implement an alternative to Tab Responsive.

    Thanks,
    Manny

    Praveen

    (@praveenmalav09)

    Hi @mvarela,

    We have checked our plugin with your theme and it working well it will be other plugins that are conflicting with our plugin so please check this so we will resolve it.

    Thanks

    Thread Starter mvarela

    (@mvarela)

    Hi @praveenmalav09,

    Placing the [woocommerce_my_account] shortcode in a tab causes the following links to break:

    shipping and billing addresses
    recent orders
    edit your password and account details

    Have you tried to do this? The shortcode otherwise works perfect outside of Tab Responsive. When placed in a tab, the links get changed as indicated above.

    No other plugins seem to affect this issue.

    Manny

    Hi @mvarela,

    Please go to plugins > plugin editor and select Tabs Responsive and go to ink > admin > data-post > tabs-save-data.php file change the below code with other code on line number 13

    $tabs_desc = stripslashes(wp_kses_post($_POST['tabs_desc'][$i]));

    To

    $tabs_desc = stripslashes($_POST['tabs_desc'][$i]);

    After changing this put shortcode again in tabs.

    Thanks

    • This reply was modified 2 years, 4 months ago by balram19.
    Thread Starter mvarela

    (@mvarela)

    Hello @balram19,

    Thank you for your response. Unfortunately, this modification did not resolve the issue. Clicking “Addresses” from the WooCommerce admin menu, and then “Edit” for Billing Addresses still yields a 404 page error by sending the browser to:

    https://www.mile2.com/edit-address/billing/?p=23420

    The correct link when the WC Admin shortcode is placed outside of the Tabs plugin is:

    https://www.mile2.com/my-account/edit-address/billing

    Somehow whilst in a Tab, the WC Admin shortcode links are get modified; dropping “my-account”, and adding “?p=23420”

    Thanks for your help!

    Manny

    Thread Starter mvarela

    (@mvarela)

    Hello @balram19,

    It seems as though while in a Tab, the WC-Admin path gets modified somehow. I can’t seem to find where that may be happening.

    Manny

    Hi @mvarela,

    please tell us which theme you are using with this also which plugin using along.

    thanks

    Thread Starter mvarela

    (@mvarela)

    Hi @balram19,

    We are using the Elementor theme, with the WooCommerce [woocommerce_my_account] plugin within the “My Profile” tab. The other tabs include various LearnDash, Uncanny, and BadgeOS plugins.

    Thanks,
    Manny

    Hi @mvarela,

    We have tested our plugin with your theme layers and we also registered in woocommerce form and it’s working well. There is no 404 error we face also check your site and it also works well. So please check any other plugin which is a conflict with our plugin.

    Thanks

    Thread Starter mvarela

    (@mvarela)

    Hi @balram19,

    I have created a new Tab (with three tabs) and placed it on a blank page. The first tab contains the [woocommerce_my_account] shortcode all by itself, the other two tabs are empty. So, I have eliminated all other potential plugin/shortcode conflicts. But still the issue remains. Wrong address in several links. I have the screenshots to show you, but not sure how/where to send them to you, or how to attach them here.

    Again, the [woocommerce_my_account] shortcode works fine outside of Tab, but some bad links created when placed in a Tab.

    Can we somehow do a zoom call to demonstrate the issue?

    Manny

    Thread Starter mvarela

    (@mvarela)

    Hi @balram19,

    As an added footnote, on that same blank page, I added the [woocommerce_my_account] shortcode below the Tab shortcode. Essentially two admin instances on the same page. The links in Tab instance are wrong, the links in the instance below it (outside of Tab) works correctly.

    Manny

    Thread Starter mvarela

    (@mvarela)

    Hi @balram19,

    More information. I have hardcoded the proper URLs within the [woocommerce_my_account] shortcode and now the address is resolved except for the “/?=23420” tag at the end of the URL that gets added somewhere within the Tab shortcode. How can I eliminate that from being added to the end of the string?

    https://www.mile2.com/my-account/edit-address/billing/?p=23420

    Manny

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Invalid URLs created for WP-Admin within a Tab’ is closed to new replies.