Support Forum

Updates to WP 4.5 and SP 5.6.5 – add topic broken.

EB Emmet Brown
Emmet Brown
Member

I backed up first then installed all the updates. 

Now I can’t add a new topic on any forum. 

Tested in ios, and firefox on windows.

31 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

What IS all that? The jQuery library code? What does ‘I have this error’ mean please?

EB Emmet Brown
Emmet Brown
Member

Sorry, I was debugging and I can’t edit the post above.  here is the PHP error:

[13-Apr-2016 23:19:19 UTC] PHP Notice:  Undefined variable: arg in /wp-content/plugins/simple-press/sp-startup/forum/sp-forum-framework.php on line 118

[13-Apr-2016 23:19:19 UTC] PHP Notice:  get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /wp-includes/functions.php on line 3662

And in the console I see:

Syntax error, unrecognized expression: [href=#]

YS Yellow Swordfish
Yellow Swordfish
Member

They are both notices and harmless. The first is on us and wont have any bad effect on anything. The second must be coming from another plugin as SP doesn’t make that call in the current codebase.

So neither are going to effect starting topics. Much more likely to be a javascript conflict with something, Apart from WP and SP and SP plugins was anything else added or updated to the site that might be in conflict? Do you now how to use the web console to look for script errors which will show what might be the cause? (If not a quick guide here: http://simple-press.dev/documentation/codex/faq/how-to/how-to-use-your-web-browser-console/)

EB Emmet Brown
Emmet Brown
Member

Ya, just edited my post above.  console shows:

 

Syntax error, unrecognized expression: [href=#]

YS Yellow Swordfish
Yellow Swordfish
Member

wow – that’s really not very helpful is it? 

Well – again – there is nothing in the codebase. Where a ‘#’ is used in an href (and there are still a few although they are vanishing!) they are all properly quoted.

So – same question? Anything else updated or new?

YS Yellow Swordfish
Yellow Swordfish
Member

Oh – and – the console will normally tell you what file the error is in? What was it?

EB Emmet Brown
Emmet Brown
Member

No, It was working, then I updated WP and all the SP things and now its not.

However, I notice the tooltips are back, and I had disabled them using the reboot child theme.  Do I need to update the child theme?

YS Yellow Swordfish
Yellow Swordfish
Member

No – there is no change to the child theme. Can I have a link to your form page?

YS Yellow Swordfish
Yellow Swordfish
Member

I see that whatever is the cause is basically stopping jQuery from running. Which then stops some of the buttons from working. And judging by the error, it simply looks like some kind of malformed anchor href argument, At least that is what it seems to imply as I have not seen that before.

I really have no idea. probably need to talk to Steve who is not around at the moment, About the only constructive idea I can think of would be to deactivate plugins one by one to see if one of them is the cause. But from what I remember i think you are more or less running the same things we are running here with the exception of BuddyPress. But worth a try,

EB Emmet Brown
Emmet Brown
Member

Ok, do you mean the simple press plugins?  Or all the plugins? I’ll start with all sp and work toward all wp as well.

 

One thing that makes me wonder is that our forum name begins with a hashtag ‘#’  not sure..  I’ll play around and update this thread with anything I find that seems useful.

EB Emmet Brown
Emmet Brown
Member

Ok, now I’m pretty sure this is a theme problem.  Its an error on every page of my site with every plugin deactivated.  You can safely delete this thread.

EB Emmet Brown
Emmet Brown
Member

Here’s the fix for anyone with Avada theme:

https://theme-fusion.com/knowledgebase/avada-3-9-3-fix-wordpress-4-5-compatibility/

Edit:  And I’ve confirmed that this fix works.  So if you are running Avada, wait until they release 3.9.4 before upgrading your wordpress to 4.5, or else you have to manually copy the files from the link above into your theme directory.