My two favorite web apps - Gallery and Wordpress - do not appear to play well together Here is the situation:
Gallery is installed in /gallery. Wordpress is installed in /wordpress. I have a PHP header and footer wrapper in my root directory.
Gallery works fine when wrapped. Wordpress works fine when wrapped. Custom pages work fine when wrapped AND when including Wordpress components. For example, I include in my header.php the wp-blog-header.php file and use the Get_Links function to display a list of links in my side navigation bar. on all pages in the site
However, when I do the same on a gallery page I get the following error:
"Fatal error: Call to a member function on a non-object in /home/brianbur/public_html/wp-includes/wp-l10n.php on line 37"
I am using absolute paths. The includes work on all non-gallery pages regardless of location. This leads me to believe it is an integration issue, not a bug. There is another Wordpress user experiencing the same problem on the Wordpress forums.
As anyone else seen this before? If so, did you find a solution? Any other thoughts?