Contents
Table of Contents
Troubleshooting
Fatal TypeError on Article Save (Joomla 6)
Error:
MokoSuiteCrossContent::onContentAfterSave(): Argument #1 ($event) must be of type
Joomla\CMS\Event\Content\AfterSaveEvent, Joomla\CMS\Event\Model\AfterSaveEvent given
Cause: Joomla 6 moved model-level events (AfterSaveEvent, ContentChangeStateEvent) from the Joomla\CMS\Event\Content namespace to Joomla\CMS\Event\Model. Display events like BeforeDisplayEvent remained in Content\.
Fix: Update to v01.12.00 or later. This version removes strict type hints on event handler parameters, using untyped $event for cross-version compatibility.
Posts Stuck in "Queued" Status
Cause: The queue processor isn't running.
Fix:
- Check Components -> MokoSuiteCross -> Options -> Queue Processing -- ensure it's set to "Scheduler" or "Both"
- If using Scheduler: verify a task exists in System -> Scheduled Tasks of type "MokoSuiteCross - Process Queue"
- If using Page-load: ensure the system plugin is enabled and check the throttle interval
Posts Failing
Cause: Invalid credentials or platform API changes.
Fix:
- Check the error message in Components -> MokoSuiteCross -> Post Queue (hover over the red "Failed" badge)
- Check Activity Logs for detailed error messages
- Go to Services and verify credentials
- For services using Default mode, check the plugin params in Extensions -> Plugins
"No service plugin found" Warning
Cause: The service plugin for that platform is disabled.
Fix: Go to Extensions -> Plugins, search for "MokoSuiteCross", and enable the relevant service plugin.
Cross-posting Not Triggering on Publish
Cause: Auto-post is disabled or system plugin is inactive.
Fix:
- Check Components -> MokoSuiteCross -> Options -- "Auto-post on Publish" should be "Yes"
- Verify Extensions -> Plugins -> System - MokoSuiteCross is enabled
- Check that at least one service is configured and enabled
Duplicate Posts
MokoSuiteCross has a built-in duplicate guard. If you're seeing duplicates:
- Check if the article was saved multiple times in quick succession
- Check if both page-load and scheduler are running (shouldn't cause duplicates, but verify)
- Review the Activity Logs for the article in question
OAuth Connection Failing
- Verify the OAuth Client ID and Secret are correct in the plugin params
- Check that the redirect URI matches:
https://yoursite.com/administrator/index.php?option=com_mokosuitecross&task=oauth.callback - Ensure your Joomla site uses HTTPS (required by most OAuth providers)
Link Shortening Not Working
- Ensure you have a provider configured in Components -> MokoSuiteCross -> Options -> Link Shortening
- Use the
{url_short}placeholder in your templates (not{url}) - Check that your API key is valid for Bitly, Rebrandly, or YOURLS
AI Caption Generation Fails
- Configure a provider (Claude or OpenAI) in Components -> MokoSuiteCross -> Options -> AI Caption Generation
- Ensure your API key has sufficient credits/quota
- The article must be saved before AI generation can read its content
Nostr Publishing Fails
- Requires
ext-gmpPHP extension for BIP-340 Schnorr signatures - Check your relay URLs are reachable (WebSocket connections)
- Verify your private key is a valid 64-character hex string
| Revision | Date | Author | Description |
|---|---|---|---|
| 2.0 | 2026-06-28 | Moko Consulting | Add Joomla 6 event fix, link shortening, AI captions, Nostr |
| 1.0 | 2026-06-23 | Moko Consulting | Initial version |