Allow PHP in Posts and Pages
eval()'d code error (4 posts)

  1. z.flass
    Posted 2 years ago #

    Hello, i am having the following issue:

    Warning: Missing argument 1 for EM_Events::output(), called in /afs/elte.hu/org/ictlabs/ictlabs.elte.hu/wp-content/plugins/allow-php-in-posts-and-pages/allowphp.php(373) : eval()'d code on line 24 and defined in /afs/elte.hu/org/ictlabs/ictlabs.elte.hu/wp-content/plugins/events-manager/classes/em-events.php on line 151

    This setup includes the same content is properly working on an other side from i wish to move the site to its new place.

    Any idea how to fix this? Can this be a server problem?

    Thank you in advance,



  2. preddie
    Posted 1 year ago #

    I have exactly the same problem. I want to move my site to another location. On this moment it works perfect, but on my moved site i get these weird error-messages. Do you have a solution for this problem?

  3. zensam
    Posted 1 year ago #

    I just ran across this issue when I was migrating a development site to a production site on bluehost. I had used their cpanel file manager to make a copy of the development folder and then renamed it as the production folder. When I renamed to the development folder, it broke the production site giving the eval()'d code error. When I downloaded the development folder using FTP and then uploaded it as the production folder then everything worked fine. It's possible the bluehost cpanel file manager did something to mess up the files.

  4. moonvader
    Posted 1 year ago #

    it happens because of PHP version
    plugin works well on php 5.2 but it fails with php 5.3 and 5.4

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Allow PHP in Posts and Pages
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic