Fatal error: Call to a member function get_page_permastruct() on a non-object in /wp-includes/link-template.php on line 274
Fatal error: Call to a member function get_page_permastruct() on a non-object in /wp-includes/link-template.php on line 274
How do you know this is being caused by TML?
Hi Jeff , First of all thank you for your useful plug-ins.
After update my plugin to Ver.6 this error appears when reloading the page...
The only way to disable the plugin was going to cPanel and rename plugin folder , Everything works good but without "TML 6" ... :(
Reloading what page?
I got this same error when I upgraded TML
Where is this error appearing?
Error was appears all over the site on all pages ,This means my site goes down completely :)
Can I see your site? If you don't wish to post it publicly, send to jeff [at] jfarthing [dot] com.
I'm using TML 5.1.6 and it works good...
The error shuts down the site, so I had to deactivate the plugin by changing the plugin folder name.
What other information can I provide to help you since I can't reactivate the the current version?
Admin access to your site. See e-mail address above.
@Shifra , are you using BP Ajax Chat plug-in? Ajax chat is not compatible with TML 6 .
@Jeff . Hi jeff , may ya make TML 6 compatible with BP Ajax Chat plug-in?
Any resolution on this one? Having this issue myself.
Hmmm...
I just deactivated all plugins through SQL and then reactivated them all (again, through SQL). The problem didn't return...
how do I access sql, I just had this problem
I just had this happen in TML 6.0.4. Any ideas?
I need access to somebody's site who is having this problem if I am to troubleshoot this issue.
Jeff,
When i installed 'Theme My Login' I always get the error below. Then only way to correct the error is to go directly to the plugin folder and rename it, so that the plugin is disabled automatically.
I just love this plugin. please provide me a solution.
Fatal error: Call to a member function get_page_permastruct() on a non-object in C:\wamp\www\wp-includes\link-template.php on line 276
Call Stack
# Time Memory Function Location
1 0.0006 375472 {main}( ) ..\plugins.php:0
2 0.0010 383784 require_once( 'C:\wamp\www\wp-admin\network\admin.php' ) ..\plugins.php:11
3 0.0020 478160 require_once( 'C:\wamp\www\wp-admin\admin.php' ) ..\admin.php:13
4 0.0026 494528 require_once( 'C:\wamp\www\wp-load.php' ) ..\admin.php:30
5 0.0033 514016 require_once( 'C:\wamp\www\wp-config.php' ) ..\wp-load.php:29
6 0.0047 614640 require_once( 'C:\wamp\www\wp-settings.php' ) ..\wp-config.php:101
7 0.5465 40183016 do_action( ) ..\wp-settings.php:206
8 0.5635 41513832 call_user_func_array ( ) ..\plugin.php:405
9 0.5635 41513848 setupChatCookies( ) ..\plugin.php:0
10 0.5637 41514136 wp_logout_url( ) ..\bp-chat.php:493
11 0.5637 41514616 site_url( ) ..\general-template.php:215
12 0.5637 41514648 get_site_url( ) ..\link-template.php:1997
13 0.5638 41514824 apply_filters( ) ..\link-template.php:2040
14 0.5638 41516016 call_user_func_array ( ) ..\plugin.php:170
15 0.5638 41516072 Theme_My_Login->site_url( ) ..\plugin.php:0
16 0.5638 41516504 Theme_My_Login->get_login_page_link( ) ..\class-theme-my-login.php:1299
17 0.5639 41516584 get_page_link( ) ..\class-theme-my-login.php:879
18 0.5639 41516760 _get_page_link( ) ..\link-template.php:248
Fatal error: Call to a member function get_page_permastruct() on a non-object in /home/content/94/6asdfasd/html/SS/wp-includes/link-template.php on line 276
I also got this problem too when trying to install
May be the word "theme" clashes with unique name of "theme" of wordpress - somehow along the time... just guessing.
May be it should be called STHEME MY LOGIN instead
This problem is caused by plugins that attemp to utilize site_url() before $wp_rewrite is populated. In the case of frenx4u, that would be bp-chat.php.
Try opening up /wp-content/plugins/theme-my-login/includes/class-theme-my-login.php, searching for function get_login_page_url() and add the following before the rest of the code within the function:
if ( empty( $GLOBALS['wp_rewrite'] ) )
$GLOBALS['wp_rewrite'] = new WP_Rewrite();This topic has been closed to new replies.