Conflict /w CiviCRM
-
Originally posted (and answered) here:
http://civicrm.stackexchange.com/questions/2362/did-you-know-wordpress-plugin-seo-ultimates-open-graph-integrator-causes-a-wa/2443?iemail=1&noredirect=1#2443If you are using CiviCRM in wordpress, and have the “SEO Ultimate” plugin, and its “Open Graph Integrator” module enabled, you may see the following error:
Warning: Missing argument 2 for CiviCRM_For_WordPress::single_page_title() in /home/civicthe/public_html/wp-content/plugins/civicrm/civicrm.php on line 1273
I’m not sure if this causes problems in the backend, but I’m hoping its the cause of some of mine.
Fix: Disable the “Open Graph Integrator” module Install the similar “WordPress SEO by Yoast” plugin instead – it’s open graph module does the same functionality but WITHOUT the error.
ANSWER:
This is a bug in the SEO Ultimate plugin. You should report that they are incorrectly calling:apply_filters( ‘single_post_title’, $post->post_title )
in three places:
modules/opengraph/opengraph.php (line 116)
modules/titles/titles.php (line 179)
modules/titles/titles.php (line 184)The call should read:
apply_filters( ‘single_post_title’, $post->post_title, $post ).
- The topic ‘Conflict /w CiviCRM’ is closed to new replies.