Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Forum Themes Admin Sub-Panels Do Not Load
Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 6, 2015 - 10:47 am

Well, haven't had an urgent plea for help here in a while...so here goes!

After thoroughly testing a new WP theme and SP theme on our dev install, I go to overhaul our live site this morning and encounter this issue after updating to SP 555, with all current SP plugins and the current version of Reboot with my child theme that I have working fine on the test site.

I go to change the themes on my live site and neither the Tablet nor Mobile SP Theme tabs will load. Clicking their link only jumps the page to the top. So, I cannot change my SP theme for Mobile and Tablet. The Desktop theme changed fine.

The FF error console identifies one issue with spa-themes.php that seems related (ReferenceError: _Is not defined), see screenshot.

I deactivated and reactivated SimplePress, uploaded the theme files again, and the issue persists.

Can I just change this via the db for now? I found the wp_1_sfoptions table entries below. Is it possible to just copy the current theme data to the other two?

sp_current_theme

a:5:{s:5:"theme";s:9:"rebootkid";s:5:"style";s:13:"rebootkid.css";s:5:"color";s:11:"light-matte";s:6:"parent";s:6:"Reboot";s:5:"icons";s:9:"lightpack";}

sp_mobile_theme

a:9:{s:6:"active";b:1;s:5:"theme";s:13:"stacked-c553b";s:5:"style";s:11:"stacked.php";s:5:"color";s:11:"brown-cream";s:6:"parent";s:0:"";s:11:"usetemplate";b:0;s:12:"pagetemplate";s:26:"page-full-width-forums.php";s:7:"notitle";b:1;s:5:"icons";s:0:"";}

sp_tablet_theme

a:9:{s:6:"active";b:1;s:5:"theme";s:17:"default-custom553";s:5:"style";s:11:"default.php";s:5:"color";s:11:"brown-cream";s:6:"parent";s:0:"";s:11:"usetemplate";b:0;s:12:"pagetemplate";s:26:"page-full-width-forums.php";s:7:"notitle";b:1;s:5:"icons";s:0:"";}

Any other suggestions are desperately needed, and greatly appreciated.

Thank you!

spthemes-error-1.pngImage Enlarger

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 6, 2015 - 12:44 pm

mmmm. Admin.php is, of course, the main WP admin code file that goes on to load something else so - if there is an error in there it could well effect all subsequent code calls and fail. Why it should fail on a call to __() I have no ideas as this is just one of the WordPress localisation functions. Although perhaps that is a single underscore and of so I do not have a clue where that might be coming from.

Let's look on this from a different viewpoint. Are you planning on using your Reboot child theme on mobile ands tablets as well as the desktop? If so then you could remove the mobile and tablet records from the sfoptions table and they will then default to the desktop theme selection. It might also be interesting to see if doing so allows access to those panels without error...

andy-signature.png
YELLOW
SWORDFISH
Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 6, 2015 - 4:39 pm

Thanks for the quick reply, hopefully you can help me troubleshoot this further...

Deleting the entries from the sp_mobile_theme and sp_tablet_theme fields does indeed load the Desktop theme on those devices. But all the custom icons I had configured for groups, forums and topics are not loading.

And I now discover that none of the SP Admin panels load...so I can't check/or fix those or any other configurations. All of the left Admin sidebar links will take m to top level SP admin pages, but none of the subtabs load, only generating the Ajax error

The error is indeed a single underscore: ReferenceError: _ is not defined

yell

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 6, 2015 - 4:56 pm

this is in admin?  we came across on on the front end where the wp __() wasnt available but nothing in the admin...

how about anything in php error log? if undefined function called, should be a call trace in there...

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 6, 2015 - 5:33 pm

When all else fails, practice rudimentary troubleshooting protocol...right?

The issue appeared to be caused by some sort of conflict with the Jetpack plugin, or Jetpack Light. After deactivating those, SP Admin sub-panels load and save properly...so far.

Sorry for the panic!

And yes, this was in the SP Admin pages.

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 6, 2015 - 5:56 pm

jetpack huh...   another topic you might check:  https://simple-press.com/suppo.....t-working/

two with similar issue with jetpack...  though we cannot replicate with jetpack...

what is jetpack light??  can you tell for sure if jetpack or this jetpack light?

Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Apr 7, 2015 - 1:58 pm

Jetpack Lite is a plugin that strips out all the bloatware from Jetpack, keeping only Stats and shortlinks. But it does require Jetpack to be activated.

Silly Gremlins though... after de/reactivating both individyually and together, to try and answer your other question(s), the SP Admin panels are working properly again—so—far with both both plugins still activated.

I'll review the other topic and chime in there if i can provide any valuable insight.

Thanks again...

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 7, 2015 - 2:46 pm

I'll join you in the other thread...

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620