• Resolved nariyanto

    (@nariyanto)


    Hello, I have fresh installed BadgeOS, however when I tried to display Badges menu in the BadgeOS menu, I got this fatal error.

    Fatal error: Uncaught TypeError: unlink(): Argument #1 ($filename) must be of type string, WP_Error given in /Users/septiyan.nariyanto/workspace/peepso.dev/app/public/wp-content/plugins/badgeos/includes/achievement-functions.php on line 1006

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter nariyanto

    (@nariyanto)

    Also, when I tried to create new Badges, I got this error.

    ( ! ) Fatal error: Uncaught TypeError: unlink(): Argument #1 ($filename) must be of type string, WP_Error given in /Users/septiyan.nariyanto/workspace/peepso.dev/app/public/wp-content/plugins/badgeos/includes/achievement-functions.php on line 1495

    ( ! ) Warning: Object of class WP_Error could not be converted to int in /Users/septiyan.nariyanto/workspace/peepso.dev/app/public/wp-includes/post.php on line 6605

    ( ! ) Warning: Object of class WP_Error could not be converted to int in /Users/septiyan.nariyanto/workspace/peepso.dev/app/public/wp-includes/post.php on line 6525

    ( ! ) Warning: Undefined variable $content in /Users/septiyan.nariyanto/workspace/peepso.dev/app/public/wp-content/plugins/badgeos/includes/achievement-functions.php on line 1419

    • This reply was modified 2 years, 2 months ago by nariyanto. Reason: adding another error found
    • This reply was modified 2 years, 2 months ago by nariyanto.
    Plugin Author learningtimes

    (@learningtimes)

    Hello @nariyanto,
    ?
    ?Sorry to know that you are having problems. We are referring this to our development team and will get back to you shortly.
    ?
    ?Regards,
    BadgeOS Support Team

    Plugin Author learningtimes

    (@learningtimes)

    Hello,

    Please check our development team’s response below:

      Please delete the installed version and reinstall the latest version of BadgeOS from www.ads-software.com.
      Please make sure file permission to create/upload images is set properly on your site.
      Create a badge with an image select options as per your requirements and publish the badge.
      If you still face the same issue you can comment this line:
      badgeos/includes/achievement-functions.php on line 1006

    @unlink( $file_array['tmp_name'] );

    Regards,
    BadgeOS Support Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error When Update ‘Badges’ Achievement Types’ is closed to new replies.