We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

LG Better Meta conflict with Freeform

Development and Programming

kellypacker's avatar
kellypacker
138 posts
15 years ago
kellypacker's avatar kellypacker

I am having a conflict with with LG Better Meta 1.9.1 and Freeform 3.0. I updated Freeform and now am getting these php errors like this:

A PHP Error was encountered
Severity: Notice
Message: Undefined index: sitemap_defaults
Filename: plugins/pi.lg_better_meta_pi.php
Line Number: 259

The errors only occur on the contact pages with the Freeform. When I delete the Freeform, the errors go away.

Running ExpressionEngine 1.6.8 (will update soon) Build 20090723

Any ideas on how to troubleshoot this?

       
kellypacker's avatar
kellypacker
138 posts
15 years ago
kellypacker's avatar kellypacker

Oh yeah, and the Better Meta code I am using is just:

{exp:lg_better_meta_pi:template url_title="contact_us"}
       
kellypacker's avatar
kellypacker
138 posts
15 years ago
kellypacker's avatar kellypacker

Thanks to Leevi who worked with me to get this working.

The problem was that I had the legacy pi.lg_better_meta_pi.php in the plugins folder instead of the new pi.lg_better_meta_pl.php (notice the pl in the file name instead of pi.) Also I needed to update my Better Meta code to

{exp:lg_better_meta_pl:template}

instead of the legacy:

{exp:lg_better_meta_pi:template}
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.