Plugin Author
scribu
(@scribu)
What version of Posts 2 Posts are you using?
Do you have any other plugins of mine activated?
Thread Starter
argeee
(@argeee)
Hi Scribu,
Upon further investigation looking at the error logs, when the plugin was activated and working, it seems that it was not “seeing” my custom post types.
I was getting the following errors:
PHP Notice: Post type ‘ups’ is not defined. in …\\wp-content\\plugins\\posts-to-posts\\core\\type-factory.php on line 35, referer: http://localhost/my_site/products/ups/
Hope this helps.
thanks
mauro
Thread Starter
argeee
(@argeee)
I’ve tried both 1.1.3 and 1.1.4. This is the only plugin that I have from you.
thanks
Plugin Author
scribu
(@scribu)
With P2P 1.1.4, open posts-to-posts/scb/load.php. What does it say on the first line?
Also, you don’t have the scb framework loaded in mu-plugins, by any chance, do you?
Thread Starter
argeee
(@argeee)
Hi,
No scb framework on mu-plugins (I don’t have this folder).
The first line on the load.php file reads as follows:
$GLOBALS['_scb_data'] = array( 47, __FILE__, array(
'scbUtil', 'scbOptions', 'scbForms', 'scbTable',
'scbWidget', 'scbAdminPage', 'scbBoxesPage',
'scbCron', 'scbHooks',
) );
thanks
mauro
Thread Starter
argeee
(@argeee)
I can’t seem to find previous versions of the plugin in github. Do you have a repository of previous versions to see if it works with previous versions?
thanks,
mauro
Plugin Author
scribu
(@scribu)
Thread Starter
argeee
(@argeee)
Hi Scribu,
with 1.0.1 works. No error on the Apache log nor activating.
Tried 1.1.3 and still get the fatal error activation error.
This is the error while activating 1.1.3:
PHP Fatal error: Call to undefined function scb_register_table() …\\Uniserver3\\www\\eq_power\\wp-content\\plugins\\posts-to-posts\\core\\storage.php on line 11, referer: http://localhost/eq_power/wp-admin/plugins.php?plugin_status=recently_activated
Rgds,
Mauro
In the mean time I will keep working with 1.0.1. Thanks.
Plugin Author
scribu
(@scribu)
Do you happen to use an AppThemes theme?
Thread Starter
argeee
(@argeee)
I’m using my own theme as child of the twentyeleven theme.
Is there any particular thing that that theme has that I should be looking out for??
thanks,
Mauro
Plugin Author
scribu
(@scribu)
No, actually forget about the themes, since they’re loaded after plugins anyway.
The problem you’re seeing typically occurs when you have an older version of the scbFramework already loaded.
If you disable all other plugins before attempting to activate P2P, it should work.
Thread Starter
argeee
(@argeee)
How do I check for the scbFramework version??
Thread Starter
argeee
(@argeee)
This is what shows on the dashboard:
scbFramework candidates:
…\eq_power\wp-content\plugins\posts-to-posts\scb – r42
…\eq_power\wp-content\plugins\wp-pagenavi\scb – r42
Ok. I’ve deactivated all the plugins and reactivated posts-to-post. Got, scbFramework candidates:
\eq_power\wp-content\plugins\posts-to-posts\scb – r47
Asked to to upgrade connections but updated none.
I have updated the scb version for wp-pagenavi (didn’t realize it was yours) and activated all the other plugins and now works.
Thanks again,
mauro
Do you also have WP-PageNavi installed? That plugin will cause an fatal error when active.
Disable it. Enable post 2 post and then enable WP-PageNavi works fine.