Support Forum

Unable to edit profile in Unified theme used as Mobile Phone Theme

TH Thorsten
Thorsten
Member

I am using the Unified theme as the mobile phone theme on our site. Everything works fine as far as forum actions are concerned. However, profile editing does not work, none of the buttons respond. I am using an LG G3 with Android 5 and am accessing our forum via Firefox mobile. If I switch to the default theme profile editing is no issue whatsoever. So this seems to be a problem with just Unified.

29 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Could you try – using the same device and browser – your own profile on this site to see if you encounter the same issue?

TH Thorsten
Thorsten
Member

Just got around trying. No issues on this forum, all options open just fine.

YS Yellow Swordfish
Yellow Swordfish
Member

So almost certainly conflicting with one of those javascript libraries/functions you have loaded… If you have an iPad/iPhone and a Mac then it might be possible to check using the Safari web console although Safari is not the best browser on the block. If not then the only way I know of to work on a phone is by deactivating things and testing in between to see if you have found the conflict.

Debugging a phone page is a bit of a mess currently.

TH Thorsten
Thorsten
Member

That sounded like a major headache. Did some research and decided to use Chrome Remote Debugging; much much easier.

This is the error I get when the profile page loads:

Uncaught Error: cannot call methods on tabs prior to initialization; attempted to call method ‘.spProfileAccordionTab > div.spProfileAccordionPane’  @ jquery.js?ver=1.11.2:1

YS Yellow Swordfish
Yellow Swordfish
Member

Firstly was that the only error? Or were there others? Any at all that is…

TH Thorsten
Thorsten
Member

That’s the only error I can see. I am attaching screenshot, The other is just a warning from the Spotify widget on the site.Screenshot-2015-06-04-08.34.10.jpg

YS Yellow Swordfish
Yellow Swordfish
Member

In that case – I seem to recall when I was on your site that you show a reduced SP profile set. Can you give me the exact settings you are using so I can try and replicate your scenario?

TH Thorsten
Thorsten
Member

Yes, we show a reduced SP profile set. I am attaching a screenshot showing what has been deactivated

Capture.JPG

Everything below that is active

YS Yellow Swordfish
Yellow Swordfish
Member

I’m sorry – I should have also asked if you are using any plugins that effect the profile. That would be Subscriptions, Watches, Private Messaging and the File Uploader…. just so I can be sure I have the same set up as you do,

TH Thorsten
Thorsten
Member

Yes, I’m using all of those. I actually just added the file uploader.

YS Yellow Swordfish
Yellow Swordfish
Member

In which case my local test sites are reluctant to show any errors occurring,
Let me g back and look at your console report again…

YS Yellow Swordfish
Yellow Swordfish
Member

No… can not replicate any problem.

Just to be 100% sure, can you temporarily deactivate that Spotify plugin and try this with that out of the equation? You might need to clear the browser as well…

TH Thorsten
Thorsten
Member

Removed the widget but nothing changed. Also disabled all other plugins except s2member, still no change.

That leaves the WP theme from my perspective. The one we use is rather complex (http://themeforest.net/item/stockholm-a-genuinely-multiconcept-theme/8819050). Not sure how to troubleshoot further. Can’t switch the template on the site and I don’t have a staging site (yet).

YS Yellow Swordfish
Yellow Swordfish
Member

We had problems with ThemeForest themes before but as far as I can see many have been down to the theme supplying its own and older copies of the main jQuery and jQuery UI libraries instead of using the standard libraries supplied with WordPress. As far as I can see your theme IS using the proper jQuery library. Not sure about the Ui library as you have removed my forum access but I suspect it is OK. The WordPress team are trying to educate people to stop supplying these libraries and are actually talking about failing themes and plugins from their repository that do so.

The problem with scripts and consoles is they often do not show up everything. Quite often the first jQuery related error you see is actually caused by the fact that jQuery itself is no longer responding properly because of a prior error condition that basically caused it to stop completely.

@mr-papa is back tonight and I am sure he will read through the thread here and he may have an idea to try that I haven’t thought of but I do fully believe that SP is behaving properly in this area not least because I am unable to replicate it and this is a unique report.