• Resolved henrykeller

    (@henrykeller)


    Hello,

    I am getting this notification when activating the plugin..

    Fatal error: Call to undefined function wp_add_inline_script() in /homepages/40/d562735270/htdocs/clickandbuilds/TennisClubofSanAntonio/wp-content/plugins/user-submitted-posts/library/enqueue-scripts.php on line 59

    Fortunately it is only on the front end from what I can tell.. Is there a way I can fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Hello, yes this is because the plugin now uses wp_add_inline_script(), which requires WP 4.5 or better. This is an error on my part, as I should have either increased the minimum required version or provided built-in support for older versions of WP. A solution will be implemented in the next version of the plugin. In the meantime, you can upgrade WordPress, which is recommended if possible. Thank you very much for the feedback, it is appreciated.

    PS: Sorry for all the edits, it’s late and I’m not operating at 100% capacity.

    • This reply was modified 8 years, 3 months ago by Jeff Starr.
    • This reply was modified 8 years, 3 months ago by Jeff Starr.
    • This reply was modified 8 years, 3 months ago by Jeff Starr.
    Plugin Author Jeff Starr

    (@specialk)

    Just to follow up, this issue is resolved in the next version of the plugin. Should be available in the next couple of weeks. Thanks for reporting.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error’ is closed to new replies.