Git Product home page Git Product logo

avatars_gravatar's Introduction

avatars_gravatar's People

Contributors

dpi avatar

Watchers

 avatar  avatar  avatar  avatar

avatars_gravatar's Issues

Definition needs to declare label

Coming from:
dpi/avatars#45

I get a fatal error:

TypeError: Return value of Drupal\avatars\Form\Entity\AvatarKitServiceForm::Drupal\avatars\Form\Entity\{closure}() must be of the type string, null returned in /web/modules/contrib/avatars/src/Form/Entity/AvatarKitServiceForm.php on line 75 #0 [internal function]: Drupal\avatars\Form\Entity\AvatarKitServiceForm->Drupal\avatars\Form\Entity\{closure}(Array)

A label needs to be defined here:
https://github.com/dpi/avatars_gravatar/blob/8.x-2.x/src/AvatarsGravatarAvatarServicePluginInfoAlter.php#L23

I tried setting it myself (simply assigned the ID to the label) and it works. A better approach with the proper service title is needed.

Requested service `gravatar_universal` does not exist.

I got this module installed after some issues, per #1 .

If I remember correclty., In avatars-8.x-1.x three fields were automatically added to user entities. 2.x apparently adds none. But I see this Entity Type Mapping screen (admin/config/people/avatars/entity-mapping).

So I added an image reference field to my user entities (in admin/config/people/accounts/fields) and it showed up on the Entity Type Mapping screen. So I chose this field, and then tried to configure it. I moved the Gravatar service into the Enabled listing, and saved and then got an error:

The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">dpi\ak\Exception\AvatarDiscoveryException</em>: Requested service gravatar_universal does not exist. in <em class="placeholder">dpi\ak\AvatarServiceDiscovery-&gt;getClass()</em> (line <em class="placeholder">187</em> of <em class="placeholder">/Library/WebServer/Documents/fkt/vendor/dpi/ak/src/AvatarServiceDiscovery.php</em>).

I had tried configuring and deleting the individual services from within the avatars config screen and had gotten an error there, too; not sure if it was the same one.

Now, I get this error no matter what I try to browse to on my site.
Rolling-back...

Unable to install via composer

I'm getting really, really weird behavior when trying to install via composer:

$ composer require 'drupal/avatars_gravatar:2.x-dev'
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)                                           
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package drupal/avatars_gravatar 2.x-dev exists as drupal/avatars_gravatar[1.0.0, 1.0.0-beta5, 1.0.0-beta4, 1.0.0-beta3, 1.0.0-beta2, 1.0.0-beta1, 1.0.0-alpha5, 1.0.0-alpha4, 1.0.0-alpha3, dev-1.x, 1.x-dev] but these are rejected by your constraint.


Installation failed, reverting ./composer.json to its original content.

I tried clearing my composer caches - no help. The really weird thing is that the only version should be '2.x-dev', none of those 1.x versions should exist at all.

Could this be a problem with the Drupal.org composer end point? Is maybe something else somewhere in the composer eco-system calling itself 'drupal/avatars_gravatar'?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.