This topic contains 16 reply and 3 voices, and was last updated by towhid 4 years, 2 months ago
Viewing 15 Posts - 1 through 15 (of 16 total)
Author Posts
July 29, 2015 at 6:34 pm 64259
towhid When I try to update store settings, I get this Javascript error in console, and nothing is updated. --- ERROR -- throw new Error( "Failed to validate, found an element with no name assigned. See console for element reference." ); --- CONSOLE -- <input class="select2-focusser select2-offscreen" type="text" aria-haspopup="true" role="button" aria-labelledby="select2-chosen-1" id="s2id_autogen1"> has no name assigned (anonymous function) @ form-validate.js:476 (anonymous function) @ jquery.js?ver=1.11.2:2 m.extend.grep @ jquery.js?ver=1.11.2:2 w @ jquery.js?ver=1.11.2:2 m.fn.extend.filter @ jquery.js?ver=1.11.2:2 $.extend.elements @ form-validate.js:473 $.extend.checkForm @ form-validate.js:357 $.extend.form @ form-validate.js:345 (anonymous function) @ form-validate.js:78 m.event.dispatch @ jquery.js?ver=1.11.2:3 m.event.add.r.handle @ jquery.js?ver=1.11.2:3
July 30, 2015 at 4:09 pm 64391
towhid towhid

Hello,

Please first deactivate the dokan plugin and dokan theme and active again and see what happen.

Please let me know the result when done.

Thanks

July 30, 2015 at 6:39 pm 64437
Lubomir Lubomir

// The problem described above was mine, but I could not find credentials 🙂

So.. I tried to activate and deactivate Dokan, but it did not help.
What is the purpose of this input? When I added an name attribute with random value (only over developer tool in google chrome), the data were saved without error. Can I remove that input from some .php file?

August 1, 2015 at 5:08 pm 64708
towhid towhid

Hello,

Please delete the current theme and download it from your account and then install again. Before installing the theme you have to make sure that you are using the latest PHP version, latest WooCommerce and Dokan plugin and let me know the result.

Thanks.

August 5, 2015 at 12:43 pm 65379
Lubomir Lubomir

Hello,

my answer is here: https://docs.google.com/document/d/1grYBhhKko5p8hglTAPgenCrxHQrzAtk7viyVSUDxKRs/edit?usp=sharing

this form, doesn’t allow me to put here this content.
Thank you.

August 6, 2015 at 3:44 pm 65625
towhid towhid

Please provide your login details by using this form: http://wedevs.com/provide-login-details/. I will have a look what is going wrong.

Thank you 🙂

August 11, 2015 at 4:49 pm 66521
towhid towhid This reply has been marked as private.
August 12, 2015 at 12:40 pm 66655
Lubomir Lubomir

For login use this link: http://www.jesuart.com/wp-login.php
Theme maintenance mode redirect all other links.

August 13, 2015 at 12:38 pm 66847
towhid towhid

Hello Lubomir,

In which form you were going to paste the code? Please attach a screenshot. Still, I am not able to login to the site. I think you have provided the wrong username or password. There is no problem of URL.

Thanks

August 14, 2015 at 1:05 pm 67013
Lubomir Lubomir

Hello,
I send new login details using your form. You can try it.

https://ctrlv.cz/0IrE
-> on this page I cant save any Store details, becouse this input has no name:
https://ctrlv.cz/6DgP


Here are error messages:
https://ctrlv.cz/Edh3
https://ctrlv.cz/m40d
https://ctrlv.cz/nI3Z

Thank you

August 16, 2015 at 11:54 am 67250
towhid towhid

Hello Lubomir,

I was not able to get the login wp-login URL. In general WordPress provide wp-admin. But I even did not get any. Can you please send me the correct URL again .

Thanks

August 17, 2015 at 7:14 pm 67687
Lubomir Lubomir

Hello

I always use the following URL: http://www.jesuart.com/wp-login.php, and it always worked. I do not understand.
Submitted login details are from admin account, to wp-admin you’ll be redirected after login.

August 18, 2015 at 2:48 pm 67769
towhid towhid

Hello Lubomir,

I have tried to reproduce this issue but failed. It could be a has a chance of theme or plugin conflicts. You can disable all your plugins except Dokan and switch to a default theme of WordPress like – Twenty Twelve, Twenty Thirteen, Twenty Fourteen and let me know the results.

Thanks

August 18, 2015 at 7:41 pm 67851
Lubomir Lubomir

I think, that it is problem with select2.js from woocommerce. It append the mentioned code into every page where is some <select> attribute. Then your validating javascript has trouble with it.

Thank you.

August 19, 2015 at 11:39 am 67973
towhid towhid

Hello Lubomir,

Actually I did not see any error while testing based on your screenshot.

After switching a theme, did you get any new clue?

Please let me know where you think is creating some trouble in validating javascript.

Thanks

August 19, 2015 at 1:16 pm 67987
Lubomir Lubomir

Hello,

I temporary deregistered and dequeued select2.js script loading, so there is now any error. I just added this code to theme functions.php

add_action( 'wp_enqueue_scripts', 'mgt_dequeue_stylesandscripts', 100 );
function mgt_dequeue_stylesandscripts() {
    if ( class_exists( 'woocommerce' ) ) {
        wp_dequeue_style( 'select2' );
        wp_deregister_style( 'select2' );

        wp_dequeue_script( 'select2');
        wp_deregister_script('select2');		
    }
}

I think, that the troublemaker is function in “wp-content/plugins/woocommerce/assets/js/select2/select2.js” on line 1958. There is a code, that appeard on my site.

Viewing 15 Posts - 1 through 15 (of 16 total)