Fatal error: Cannot redeclare lwa_load_plugin_textdomain() (previously declared in /data/48/4/2/42/4654368/user/5511216/htdocs/wp-content/themes/powermag/inc/login-with-ajax/login-with-ajax.php:492) in /data/48/4/2/42/4654368/user/5511216/htdocs/wp-content/plugins/login-with-ajax/login-with-ajax.php on line 493
I installed it because the Ajax login was not working. I emailed you a previous screenshot of the problem before installing the Login-with-Ajax. I will uninstall it but still cannot use the Powermag-Login-with-Ajax that was included in the theme.
Page is blank when I add the "Powermag-Login-with-Ajax" widget. It works when removed.
I'm testing the ajax login on Powermag 2.1 looks to be working fine on my end. Please try to disable all plugins while testing it. If you're still getting the white page please provide admin access I'll take a peek.
Please answer this question. I already sent you emails a number of times. When I add the Ajax login widget it breaks the page. I tried other themes with the same Ajax login you provided with they theme and it works. But when I switch back to your them it doesn't. I have attached a screen shot to show how the page break with the Ajax login.
Thanks for quick response. Please email me your IP address to add to the htaccess as the website is not yet in public domain. I will resend the login if you did not receive it from my previous request.
Uploaded the files. Now have this error message when I try to go to the widgets in WP admin.
Fatal error: Call to undefined function get_stylesheet_directory_uri() in /data/48/4/2/42/4654368/user/5511216/htdocs/wp-includes/inc/tax/tax-meta-class/tax-meta-class.php on line 112
Also I see that the 'inc' folder was not installed when I uploaded theme files using WP. Now used FTP to add the entire 'inc' folder to wp-includes. I am thinking this would have been the problem in the first place.
Anyway, please let me know how to resolve the error message.
Sorry can't do the IP thing as I work in mobility I change IP so frequently, that would be too much of a hassle.
That is very weird error, as the function is in WordPress core. You sure you uploaded the files in the right folder? You don't need to put anything in the wp-includes as no theme files should be there, ever.
Looks like your install is quite messed up(?) You might want to re-install WordPress (or overwrite its files), do the same with latest theme version, only then replace the files.
Ajax plugin will not active due to fatal error in login-with-ajax.php line 492.
load_plugin_textdomain('powermag', false, "login-with-ajax/langs");
here is the error message
Fatal error: Cannot redeclare lwa_load_plugin_textdomain() (previously declared in /data/48/4/2/42/4654368/user/5511216/htdocs/wp-content/themes/powermag/inc/login-with-ajax/login-with-ajax.php:492) in /data/48/4/2/42/4654368/user/5511216/htdocs/wp-content/plugins/login-with-ajax/login-with-ajax.php on line 493
Hi there,
the Login-with-ajax plugin is already included in PowerMag, so if you install it separately it will trigger that error.
Regards
djwd
I installed it because the Ajax login was not working. I emailed you a previous screenshot of the problem before installing the Login-with-Ajax. I will uninstall it but still cannot use the Powermag-Login-with-Ajax that was included in the theme.
Page is blank when I add the "Powermag-Login-with-Ajax" widget. It works when removed.
Attached is a screenshot of the blank page with the "Powermag-Login-with-Ajax" widget
Hi there,
I'm testing the ajax login on Powermag 2.1 looks to be working fine on my end. Please try to disable all plugins while testing it. If you're still getting the white page please provide admin access I'll take a peek.
Regards
djwd
Please answer this question. I already sent you emails a number of times. When I add the Ajax login widget it breaks the page. I tried other themes with the same Ajax login you provided with they theme and it works. But when I switch back to your them it doesn't. I have attached a screen shot to show how the page break with the Ajax login.
Hi there,
I replied your question already, asking to provide login details. If I can't replicate the issue I can't help.
Anyway this issue might be similar to another user, which is relative to newer version of Buddypress. Are you running Buddypress?
If so try by replacing the two files attached:
Hope it helps
Regards
djwd
Thanks for quick response. Please email me your IP address to add to the htaccess as the website is not yet in public domain. I will resend the login if you did not receive it from my previous request.
Thanks.
Uploaded the files. Now have this error message when I try to go to the widgets in WP admin.
Fatal error: Call to undefined function get_stylesheet_directory_uri() in /data/48/4/2/42/4654368/user/5511216/htdocs/wp-includes/inc/tax/tax-meta-class/tax-meta-class.php on line 112
Also I see that the 'inc' folder was not installed when I uploaded theme files using WP. Now used FTP to add the entire 'inc' folder to wp-includes. I am thinking this would have been the problem in the first place.
Anyway, please let me know how to resolve the error message.
Thanks.
Hi there,
Sorry can't do the IP thing as I work in mobility I change IP so frequently, that would be too much of a hassle.
That is very weird error, as the function is in WordPress core. You sure you uploaded the files in the right folder? You don't need to put anything in the wp-includes as no theme files should be there, ever.
Looks like your install is quite messed up(?) You might want to re-install WordPress (or overwrite its files), do the same with latest theme version, only then replace the files.
Regards
djwd
The two files you sent fixed it. Turns out I uploaded the function.php in the wrong folder. All works now. Thank you.
I imagined there was something odd going on..anyway glad it was sorted!
Regards
djwd