• I get this error when going to the post page when not registered yet (I would expect a message along the lines of ‘please register first before posting’):

    Warning: sprintf(): Too few arguments in /home/sexstice/public_html/wp-content/plugins/front-end-publishing/inc/shortcodes.php on line 20
    You need to to see this page.

    here’s the page in question: https://sexstoriesarena.com/post-your-story/

    What can I do to fix this small issue? I just feel like there’s a ‘register’ link missing in that sentence and all would be ok…

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hassan Akhtar

    (@khaxan)

    The code on line 20 in shortcodes.php looks fine to me. The page that you have shared doesn’t have an FEP form.

    Thread Starter https://il-mato.biz/

    (@il-mato)

    Thank you for getting back to me, yes I also checked the PHP line and seemed fine to me. I struggled for a few hours to try and make it work but failed (maybe a clash with the theme? I’m using salient theme) so ended up uninstalling the plugin and came up with a ‘solution’ by adding a content restriction plugin and a form (won’t allow users to view the content on the page unless registered) once they register thay can submit their story by completing a simple form. Thank you for your time and apologies about the inconveniences.

    Thread Starter https://il-mato.biz/

    (@il-mato)

    Also forgot to mention this is the plugin I used to restrict content in case anyone else is interested/ has a similar issue: Restrict Content

    And the final result is simple, but I think gets the job done:
    https://sexstoriesarena.com/en_us/post-your-story/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘When not logged in, instead of getting a register first, I get an error’ is closed to new replies.