Jump to content


Photo
Action Map

Action Map kills a site with an ugly message if activated on non-PL themed site

ActionMap


  • Please log in to reply
3 replies to this topic

#1 CliffordP

CliffordP

    Advocate

  • Members


  • 460 posts
  • LocationOklahoma
  • Country: Country Flag

Posted 06 February 2013 - 07:43 PM

This message is displayed on the front-end of a site that has the Action Map plugin active and the current theme is not PageLines:

 

Fatal error: Call to undefined function pagelines_insert_core_less() in /wp-content/plugins/pagelines-action-map/pagelines-action-map.php on line 25

 

Action Map should be updated to not do this because a theme could be changed for many reasons (or a multisite site create a new site and PL isn't set as the default theme) and the error message is not user-friendly and no error message should be displayed to non-admins (i.e. access/permission to do something about it -- deactivate the plugin).

 

Thank you.


  • glymnentevy likes this

#2 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 06 February 2013 - 07:45 PM   Best Answer

Noted



#3 bapgar

bapgar

    Newbie

  • Members
  • 2 posts
  • Country: Country Flag

Posted 02 June 2013 - 06:15 PM

I am seeing a similar issue with Action Map:

Warning: Invalid argument supplied for foreach() in /home/content/23/10280923/html/wp-content/plugins/pagelines-action-map/pagelines-action-map.php on line 96

 

Action Map is failing and it breaks the rest of the site when it is activated.  I am using WP 3.5.1 and Pagelines 2.4.2

 

Thanks for your help,

 

Brian



#4 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 02 June 2013 - 11:08 PM

Install and activate the sections plugin





Also tagged with one or more of these keywords: Action Map, ActionMap