• PHP Fatal error: Call to undefined function add_action() /wp-content/plugins/lastpostsimage/last-posts-image/last-posts-image.php line 266

    I don’t speak PHP, so I’m currently unable to define the function, looking into it though!

Viewing 1 replies (of 1 total)
  • Thread Starter SmartLikeTruck

    (@smartliketruck)

    Okay, after poking it with a stick for a while, here is how I got the plugin working

    Delete “/wp-content/plugins/lastpostsimage/forwarder.php”

    Move “/wp-content/plugins/lastpostsimage/last-posts-image/last-posts-image.php” to “/wp-content/plugins/lastpostsimage”

    Edit
    “/wp-content/plugins/lastpostsimage/last-posts-image.php” line 144 from “$path = ‘/wp-content/plugins/last-posts-image/last-posts-image.php’; ###TODO### get path dynamicly”

    to

    “$path = ‘/wp-content/plugins/lastpostsimage/last-posts-image.php’; ###TODO### get path dynamicly”

    I’m not sure if this is the “right” way to fix this plugin, but it is working for me. Seems the author didn’t like how the directory structure worked in older versions and forward.php was to fix that, but just botched it further. Anywho, hope this works for you.

    Now that I’ve got the basic gist of it, may have to try including truetype fonts and outputing to image format that is text friendlier.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: LastPostsImage] Broken, via undefined function’ is closed to new replies.