Problem/Motivation

Error: Class "pimax\FbBotApp" not found in Drupal\dbb\Controller\NodeRedirectController->sendButtons() (line 288 of /app/web/modules/contrib/dbb/src/Controller/NodeRedirectController.php).

Drupal 10.0.0
platform.sh
pimax library installed with composer require alefinvest/fb-messanger-php

Comments

alex.mazaltov created an issue. See original summary.

  • alex.mazaltov committed f3b3d3ca on 1.0.x
    #3327779 Class pimaxFbBotApp not found, Update use statement for pimax
    
alex.mazaltov’s picture

Issue summary: View changes

  • alex.mazaltov committed 2a3ed994 on 1.0.x
    #3327779 Class pimaxFbBotApp not found, restore use statement for pimax
    

  • alex.mazaltov committed 4be7ae63 on 1.0.x
    #3327779 Class pimaxFbBotApp not found, call Class FbBotApp with prefix...

  • alex.mazaltov committed d6f55dcd on 1.0.x
    #3327779 Class pimaxFbBotApp not found, reqire_once added before class...

  • alex.mazaltov committed 42cb4a68 on 1.0.x
    #3327779 Class pimaxFbBotApp not found, reqire_once added before class...

  • alex.mazaltov committed ad560b20 on 1.0.x
    #3327779 Class pimaxFbBotApp not found, reqire_once added for all calls...

  • alex.mazaltov committed 1805f85b on 1.0.x
    #3327779 Class pimaxFbBotApp not found. Put pimax_library into vendor...

  • alex.mazaltov committed d1c50a2c on 1.0.x
    #3327779 fix for class FbBotApp not found -> move logic from external...

  • alex.mazaltov committed 255e8a90 on 1.0.x
    #3327779 fix for class FbBotApp not found -> fix use statement in all...

  • alex.mazaltov committed dbd3f446 on 1.0.x
    #3327779 fix for class FbBotApp not found -> fix use statement in...
alex.mazaltov’s picture

Version: 1.0.x-dev » 1.0.9
Status: Active » Fixed
cmlara’s picture

Status: Fixed » Needs work

Merging the code of a 3rd party library into your module (especially since that code can not be released under the same license terms as the dbb module) is not the way to fix autoloader issues.

This set of commits may violate the Git Usage Policy on 3rd party assets.
https://www.drupal.org/docs/develop/git/setting-up-git-for-drupal/drupal...

  • alex.mazaltov committed 11ba0658 on 1.1.x
    #3327779 Rework dependency managment. Now rely on packagist.org public...
alex.mazaltov’s picture

Status: Needs work » Needs review
alex.mazaltov’s picture

Version: 1.0.9 » 1.1.x-dev
alex.mazaltov’s picture

Version: 1.1.x-dev » 1.1.0
alex.mazaltov’s picture

Status: Needs review » Fixed
alex.mazaltov’s picture

Status: Fixed » Closed (fixed)