• Resolved captaincrash

    (@captaincrash)


    Hello,

    it seems that as of version 1.7.0 the functions for PHP usage are missing because of the major plugin rewrite into a class?

    I’m using simpleYearlyArchive(); in a template file. My fallback solution echoes the standard WP archive, so I investigated the plugin and there is no function simpleYearlyArchive().

    Am I supposed to use echo do_shortcode…, because on the plugin homepage the PHP usage is still documented? Or have I missed something?

    Best regards

    https://ww.wp.xz.cn/plugins/simple-yearly-archive/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    Just wanted to say I’m having the exact same issue.

    I updated from WordPress 3.9.1 to 3.9.2, and updated a couple of plugins at the same time, including Simple Yearly Archive (SYA).

    Most of them seem to be working properly except SYA. I’ve tried deactivating and reactivating the plugin, but that doesn’t help.

    Kind regards,
    Morgan

    Not sure if this helps, but if I do:

    if (function_exists('simpleYearlyArchive')) { echo "active"; } else { echo "inactive"; }

    I get the “inactive” response.

    Thread Starter captaincrash

    (@captaincrash)

    Exactly, the function is undefined. The question is whether this is intentionally, was forgotten during the obvious plugin rewrite or one should use a different call (the display method?) in plain PHP?

    Plugin Author wpseek

    (@alphawolf)

    Holy shmoly, sorry guys! 🙂 Just released 1.7.0.1 that fixes this issue!

    Great, updating to 1.7.0.1 fixed the issue! Thank you!

    Thread Starter captaincrash

    (@captaincrash)

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Functions for PHP usage missing in 1.7.0?’ is closed to new replies.