I update Joomla to 3.8.10 and my compser library MPDF crashes. This situation was the same when update to 3.8.8 and to fix this i executed the command below:
[php composer.phar require mpdf/mpdf]
Now when i try frontend and backend login, message appears
[Call to a member function get() on null]
At log file
[joomla PHP Notice: Undefined offset: 0 in libraries/vendor/joomla/input/src/Input.php]
I expect fix it fast (ehehe)
Now my app is not working.
Debian8
Apache2
PHP7
Joomla 3.8.10
Composer Log:
Using version ^7.1 for mpdf/mpdf
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 4 installs, 14 updates, 3 removals
Nice, you confirm my suspect. So, you could help about the right way to use
joomla anda composer?
Em Qua, 27 de jun de 2018 11:54, Michael Babker notifications@github.com
escreveu:
- According to your output, you've downgraded a lot of the core
packages, that is going to cause problems- We do not support users running Joomla and using Composer to pull
in dependencies right now so these types of changes are at your own risk—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#20896 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEiy_VXWcbCcXhB1aAMD60d5Qp2oViENks5uA5ydgaJpZM4U53RN
.
@austre You need to run composer in an own directory. You can't use the "main" one from Joomla.
If you have a dependency in your composer library which is covered by Joomla already, you can use "replace" (I think it was that one) to trick you composer so you don't have the same library twice.
Priority | Urgent | ⇒ | Medium |
Status | New | ⇒ | Discussion |
I understand more now, so thanks all you. I'm a dummy with composer, start
learn and use about 1 month.
I was think it only works at libraries/vendor. I have my own dir for some
classes, now i'll use this one for my composer libraries.
Need learn use/configure composer in my own dir.
Now is time to watch Brazil WC game and after i'll fix those jommla
composer libs.
Em Qua, 27 de jun de 2018 12:27, Thomas Hunziker notifications@github.com
escreveu:
@austre https://github.com/austre You need to run composer in an own
directory. You can't use the "main" one from Joomla.
If you have a dependency in your composer library which is covered by
Joomla already, you can use "replace" (I think it was that one) to trick
you composer so you don't have the same library twice.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#20896 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEiy_dsYB5N-C6XlbFzal8KphUShGOtuks5uA6RQgaJpZM4U53RN
.
@Bakual I'll try this, thanks!
Now i'm trying to fix the downgrade that i made. With the command
php composer.phar show -lo
I got this
When i try
php composer.phar update ./vendor/joomla/application
I got
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
So, Nothing to install or update!
What should i do?
I am closing this as while it is an issue for you it is not a core issue.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-06-27 22:04:14 |
Closed_By | ⇒ | brianteeman |
Ahh, ok!
I understand, thanks anyway!