xcaballe
Member
Posted 2 years ago #
I just installed WordPress Mobile Pack 1.1.9. When I access the admin interface with a mobile device I have this error:
fatal_error: Call to undefined function wpmp_theme_group_file() in [path]/wordpress-mobile-pack/plugins/wpmp_switcher/pahes/mobile.php on line 30.
jamesgpearce
Member
Posted 2 years ago #
Hi there,
I have been trying to reproduce this, without any success. My only thought is that you
a) didn't update the themes when you activated 1.1.9 of the plugin
b) are using a different (or customized) mobile theme
Can I also ask what your switching settings are?
I am writing some code now to defend against this issue, but it would be nice to understand exactly how it's happened for you.
Thanks
James
jamesgpearce
Member
Posted 2 years ago #
Hi there... there's a fix being checked in right now.
If you can update to v1.1.91, you should find this particular issue has been solved.
Sorry about that
James
xcaballe
Member
Posted 2 years ago #
Yep! Version 1.1.91 fixes it. Thanks a lot for this quick fix.
Hi there, I'd like to reopen this issue
I'm using version 1.2 and a custom theme - it works in my test environment (same server and settings, just different url);
But when I uploaded to the live i got the function error, I think its not picking up the "base" theme @ all and I've checked... the base theme is actually there (I literally copied from test and activated) :(
Please help
hi, I reactivated the plugin on my test, and now the problem is there too.
I don't know whats the cause of this please help
okay , think i'm winning, I copied the function.php file to my custom theme and everything is now working fine. *** so far....
AndreaTrasatti
Member
Posted 2 years ago #
Hello vusis,
if you developed your own theme, which is great, I would like to know any issues like this that you encountered. We might move some functions from our base theme to the main plugin. The idea of the base theme (all the files that sit in mobile_pack_base) was that when developing a new theme, you would reuse those files either by including them from your theme or extending the CSS as we did for the different colour schemes.
Did you write your theme from scratch? If so, is that the only function that you were having trouble with? How was it? We would like designers to create their own themes to use with the Mobile Pack, so it's exciting to see you doing so!