Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter pid1984

    (@pid1984)

    	AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to WP_Translation_Controller::set_locale() must be of the type string, null given, called in /var/www/vhosts/henleyhousehotel.com/httpdocs/wp-includes/l10n.php on line 799 and defined in /var/www/vhosts/henleyhousehotel.com/httpdocs/wp-includes/l10n/class-wp-translation-controller.php:87\nStack trace:\n#0 /var/www/vhosts/henleyhousehotel.com/httpdocs/wp-includes/l10n.php(799): WP_Translation_Controller->set_locale(NULL)\n#1 /var/www/vhosts/henleyhousehotel.com/httpdocs/wp-includes/l10n.php(1005): load_textdomain('wck', '/var/www/vhosts...', NULL)\n#2 /var/www/vhosts/henleyhousehotel.com/httpdocs/wp-content/plugins/wck-custom-fields-and-custom-post-types-creator/wck.php(38): load_plugin_textdomain('wck', false, 'wck-custom-fiel...')\n#3 /var/www/vhosts/henleyhousehotel.com/httpdocs/wp-settings.php(517): include_once('/var/www/vhosts...')\n#4 /var/www/vhosts/henleyhousehotel.com/httpdocs/wp-config.php(95): require_once('/var/www/vhosts.....PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to WP_Translation_Controller::set_locale() must be of the type string, null given, called in /var/www/vhosts/henleyhousehotel.com/httpdocs/wp-includes/l10n.php on line 799 and defined in /var/www/vhosts/henleyhousehotel.com/httpdocs/wp-includes/l10n/class-wp-translation-controller.php:87\nStack trace:\n#0 /var/www/vhosts/henleyhousehotel.com/httpdocs/wp-includes/l10n.php(799): WP_Translation_Controller->set_locale(NULL)\n#1 /var/www/vhosts/henleyhousehotel.com/httpdocs/wp-includes/l10n.php(953): load_textdomain('default', '/var/www/vhosts...', NULL)\n#2 /var/www/vhosts/henleyhousehotel.com/httpdocs/wp-includes/class-wp-fatal-error-handler.php(49): load_default_textdomain()\n#3 [internal function]: WP_Fatal_Error_Handler->handle()\n#4 {main}\n thrown in /var/www/vhosts/henleyhousehotel.com/httpdocs/wp-includes/l10n/class-wp-translation-controller.php on line 87', referer: https://www.henleyhousehotel.com/wp-admin/plugin-install.php?s=wck&tab=search&type=term

    White screen of death on front and back-end of website. Removing the plugin resolves the issue.

    Thread Starter pid1984

    (@pid1984)

    Hey Rick;

    Looks like the pages / settings are all good – they haven’t changed since this had been working previously. The client reports that there’s no notices or anything showing in the PayPal account, but I’ll ask them to reach out re: any restrictions or problems.

    Mind if we leave the thread open in case something else comes up on either of our ends?

    Cheers
    Allen

    Thread Starter pid1984

    (@pid1984)

    Hey Javier

    That’s a good question. I imagine they would, but I haven’t tested.

    I’d be happy to discuss retaining your services to work on this if you’re interested. I’ll send you folks an email.

    Thread Starter pid1984

    (@pid1984)

    Hi Mike,

    I’m checking in with Thesis as well, but did confirm the issue occurred back after the WooComm update (just didn’t notice it until today!). Figured I’d report it here in case it’s an easy fix on WC’s side, or if anyone else had come up against it.

    – Will update further once DIYThemes/Thesis support replies.

    Thanks!
    Allen

    • This reply was modified 6 years, 9 months ago by pid1984.
    Thread Starter pid1984

    (@pid1984)

    It’s still not up to what we need, but there’s been some other ideas that I’ve worked on for Matt which might be of interest to the BadgeOS community. The only thing is, between my various jobs I don’t have time to look up how to build the front end for them the way I’d like to. If you’d be willing to lend a bit of expertise feel free to reach out to me by email. [email protected]

    Cheers,
    Allen

    Thread Starter pid1984

    (@pid1984)

    Hi Matt,

    Are you having the learners mark their lessons complete, or are you using something so an instructor marks the learner complete?

    The plugin I built, albeit kind of shoddy, does award the badge that’s hardcoded in. I’d be happy to share the code with you, or take a look at yours.

    Feel free to reply here or email me: [email protected]

    Thread Starter pid1984

    (@pid1984)

    That would be fantastic, thank you! Hopefully once we get past this last hurdle we can work on that. Cheers!

    Thread Starter pid1984

    (@pid1984)

    Thanks Michael; I really appreciate you taking the time. For now I’ve hardcoded the badges to award, but if I can make this dynamic then I would like to share the plugin back to the community and hopefully someone else can make use of it.

    Cheers,
    Allen

    Thread Starter pid1984

    (@pid1984)

    What I’m confused by most of all is that my triggering the learndash_process_mark_complete function doesn’t also trigger the BadgeOS Learndash integration, since – from what I can tell – the integration hooks into learndash_lesson_completed which is called during the learndash_process_mark_complete function.

    Looking at the databases, when you set a badge to be awarded by a learndash trigger, the _badgeos_earned_by field is set to trigger, and then another post entry is created in the database. For example if the badge was id 100, the additional post entry would be 101, and that entry contains the learndash trigger information.

    The logic would follow that I’d need to write a query to search for the lesson’s post ID in field_badgeos_learndash_object_id. Then award the badge with the ID previous to the one that I found that in… phew..

    Thread Starter pid1984

    (@pid1984)

    Hi Michael;

    That’s actually part of the problem. I’m using badgeos_maybe_award_achievement_to_user (to avoid duplicate badge awards), but I have to hard code in the associated badge IDs to do it. I built a dropdown menu for users to select which learndash course they want to award – which I could similarly do for badgeOS badges – but it would then mean that the administrator has to do this:
    Select lesson
    Select associated badge
    Select user
    Click submit

    What I’d prefer is
    Select lesson (or badge)
    – plugin determines which badge/lesson is associated with it –
    Select user
    Click submit

    As it stands right now, I’ve got a user ID and a lesson ID, then I use a switch to match up the lessons with the badges. It works perfectly, it just isn’t something I could package and re-use on other sites without tweaking, you know?

    Michael and Shinysheep; I found the issue. The file type being uploaded was not accepted by WordPress (not on the allowed list in the settings.php file). The problem is that, instead of displaying WordPress’ built in error which tells the user that helpful tidbit, the BadgeOS Submission system just says that the submission was accepted. Would this be fixable in a future release?

    Cheers,
    Allen

    Hey ConfuzzledDuck,

    First off: Thank you for this plug in.

    I had the same problem as the others here (WP 3.5.2 and tried Syndicate Out v0.8.0 and 0.8.1). I switched to 0.7 and it worked just dandy.

    I’ve tried it on two of my sites, and want to put it on the rest of them (I have too many) so I can have one main site as a central syndication place. It’s interesting to note that it may not work with custom taxonomies as I haven’t tried it with anything but posts, but would it make sense if just *having* custom taxonomies may mess it up? I make use of WooThemes’ Canvas which does add several additional ones.

    I figure a list of what I’m using may help with troubleshooting but one of them has too much to list.. The other, however, is pretty bare:
    (all versions current except Syndicate Out)
    WooThemes’ Canvas theme
    Limit Login Attempts
    Syndicate Out (0.7)
    WooDojo

    If I may be so bold as to put a feature request out there, too; it would be awesome if there was the option to have the site the post is from preface the post title. I don’t know if anyone else would make use of it, but I certainly would! ??

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