Hi,
thank you for this suggestion, however it is still same. After I hit publish changes I still get the following error.
[f143961b9df50bcb247da6af] /mediawiki/index.php?title=page&action=submit Error from line 16 of /var/www/mediawiki/extensions/Sync/Sync.hooks.php: Class 'Nischayn22\MediaWikiApi' not found
Backtrace:
#0 /var/www/mediawiki/includes/Hooks.php(177): SyncHooks::onPageContentSaveComplete(WikiPage, User, string, string, integer, NULL, NULL, integer, Revision, Status, boolean, integer)
#1 /var/www/mediawiki/includes/Hooks.php(205): Hooks::callHook(string, array, array, NULL)
#2 /var/www/mediawiki/includes/page/WikiPage.php(1853): Hooks::run(string, array)
#3 [internal function]: WikiPage->{closure}(Wikimedia\Rdbms\DatabaseMysqli, string)
#4 /var/www/mediawiki/includes/libs/rdbms/database/Database.php(3664): call_user_func_array(Closure, array)
#5 /var/www/mediawiki/includes/deferred/AtomicSectionUpdate.php(35): Wikimedia\Rdbms\Database->doAtomicSection(string, Closure)
#6 /var/www/mediawiki/includes/deferred/DeferredUpdates.php(259): AtomicSectionUpdate->doUpdate()
#7 /var/www/mediawiki/includes/deferred/DeferredUpdates.php(210): DeferredUpdates::runUpdate(AtomicSectionUpdate, Wikimedia\Rdbms\LBFactorySimple, string, integer)
#8 /var/www/mediawiki/includes/deferred/DeferredUpdates.php(127): DeferredUpdates::execute(array, string, integer)
#9 /var/www/mediawiki/includes/MediaWiki.php(606): DeferredUpdates::doUpdates(string, integer)
#10 /var/www/mediawiki/includes/MediaWiki.php(575): MediaWiki::preOutputCommit(RequestContext, Closure)
#11 /var/www/mediawiki/includes/MediaWiki.php(877): MediaWiki->doPreOutputCommit(Closure)
#12 /var/www/mediawiki/includes/MediaWiki.php(524): MediaWiki->main()
#13 /var/www/mediawiki/index.php(42): MediaWiki->run()
#14 {main}