Kohana + Wordpress without "Wordpress for Kohana" plugin
I need to get a Kohana project going but the wordpress part is delaying the project, and I need to know how to successfully implement a wordpress copy onto kohana, as a helper or module, without the use of the "Wordpress for Kohana" plugin.
If I directly add the blog header it gives me this error:
Fatal error: Call to undefined method stdClass::set_prefix() in wp/wp-settings.php on line 268
And stdClass isn't the actual assigned class when not implementing this in the Controller nor the View file.
"The reasonable man adapts himself to the conditions that surround him... The unreasonable man adapts surrounding conditions to himself... All progress depends on the unreasonable man." - George Bernard Shaw
I'd have to ask the same question - the plugin is made by the Kohana developers, so I'd feel pretty confident in the fact that it's probably the most suitable solution you will find.
You may have reasons we're unaware of though. The correct way to integrate Wordpress within another application is to call wp-load.php, not wp-blog-header.php - start there and see if you're having a similar issue.