Keyword

Warning Message When Displaying an Item

  • sydneyartschool
  • sydneyartschool's Avatar Topic Author
  • Offline
  • New Member
More
14 years 3 weeks ago #87724 by sydneyartschool
Warning Message When Displaying an Item was created by sydneyartschool
When displaying an item  I get the following message ...
Warning: preg_match_all() expects parameter 2 to be string,
object given in /home/syd17745/public_html/plugins/system/modulesanywhere.php
on line 247Any ideas?

Please Log in or Create an account to join the conversation.

More
14 years 3 weeks ago #87725 by william white
Replied by william white on topic Warning Message When Displaying an Item
Try disabling a plugin you may have... ModulesAnywhere and see if the error goes away

Please Log in or Create an account to join the conversation.

  • sydneyartschool
  • sydneyartschool's Avatar Topic Author
  • Offline
  • New Member
More
14 years 3 weeks ago #87726 by sydneyartschool
Replied by sydneyartschool on topic Warning Message When Displaying an Item
Yes when plugin disabled the error goes away.

But the Modules Anywhere plugin is central to my site ... I use a slide show based upon joomimg in nearly every article.

So does this mean that K2 is not compatible with ModulesAnywhere or is there a fix?

Please Log in or Create an account to join the conversation.

More
14 years 3 weeks ago #87727 by william white
Replied by william white on topic Warning Message When Displaying an Item
ModulesAnywhere is a good plugin.
Box the error in by
putting the code in a regular joomla article and seeing if this is specific to K2 or not

Please Log in or Create an account to join the conversation.

  • sydneyartschool
  • sydneyartschool's Avatar Topic Author
  • Offline
  • New Member
More
14 years 3 weeks ago #87728 by sydneyartschool
Replied by sydneyartschool on topic Warning Message When Displaying an Item
The code works fine in a regular Joomla article.

Only get the error in K2

Please Log in or Create an account to join the conversation.

  • sydneyartschool
  • sydneyartschool's Avatar Topic Author
  • Offline
  • New Member
More
14 years 3 weeks ago #87729 by sydneyartschool
Replied by sydneyartschool on topic Warning Message When Displaying an Item
Martin Chang said:The code works fine in a regular Joomla article.
Only get the error in K2

Please Log in or Create an account to join the conversation.

  • sydneyartschool
  • sydneyartschool's Avatar Topic Author
  • Offline
  • New Member
More
14 years 3 weeks ago #87730 by sydneyartschool
Replied by sydneyartschool on topic Warning Message When Displaying an Item
I upgraded to the latest version of ModulesAnywhere that has a "hide html error" Option.

This fixed the problem.

Please Log in or Create an account to join the conversation.

More
14 years 3 weeks ago #87731 by william white
Replied by william white on topic Warning Message When Displaying an Item
Thanks, this is good to know for all

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum