Module 'xmlrpc' already loaded

Hey Everyone,

Since this morning I have the following two errors in the panel.

Has it ever happened to someone?

I tried to make the changes on the server according to the information of the page trouble shooting (https://getkirby.com/docs/guide/troubleshooting/panel

) but nothing has changed

Have you made any changes? Or changes made by the hoster?

Is there any more information in your console?

Check your php.ini file for this module.

My console :


xmlrpc is activate in my php.ini,
do I have to disable this module?

You could at least try it. Maybe it is loaded twice for some reason.

As regards the other error messages, could you please post your blueprint.

The message points to some problem with the session and the csrf token, though
:thinking:

title: Site
options:
  delete: false
  changeTitle: false
  changeStatus: false
  changeSlug: false

columns:
  - width: 1/2
    sections:
      pdj-draft: sections/le-point-du-jour-draft

  - width: 1/2
    sections:
      pdj-unlisted: sections/le-point-du-jour-unlisted

  - width: 1/1
    sections:
      pdj-published: sections/le-point-du-jour-published
      
  - width: 1/2
    sections:
      pdls-draft: sections/le-point-sciences-draft

  - width: 1/2
    sections:
      pdls-unlisted: sections/le-point-sciences-unlisted

  - width: 1/1
    sections:
      pdls-published: sections/le-point-sciences-published

  - width: 1/1
    sections:
      info:
        type: info
        headline: AUTRES
        text: |
          Gestion des éditions spéciales et des publicités
      pages:
        type: pages
        template:
          - publicite-sponsors
          - editions-speciales

That’s my site.yml, i have some errors in the sections 


Ah, first thing: no dashes in field or section names!

okok, i change my site.yml like that

    title: Site
    options:
      delete: false
      changeTitle: false
      changeStatus: false
      changeSlug: false

    columns:
      - width: 1/2
        sections:
          pdjdraft: sections/lepointdujourdraft

      - width: 1/2
        sections:
          pdjunlisted: sections/lepointdujourunlisted

      - width: 1/1
        sections:
          pdjpublished: sections/lepointdujourpublished
          
      - width: 1/2
        sections:
          pdlsdraft: sections/lepointsciencesdraft

      - width: 1/2
        sections:
          pdlsunlisted: sections/lepointsciencesunlisted

      - width: 1/1
        sections:
          pdlspublished: sections/lepointsciencespublished

      - width: 1/1
        sections:
          info:
            type: info
            headline: AUTRES
            text: |
              Gestion des éditions spéciales et des publicités
          pages:
            type: pages
            template:
              - publicite-sponsors
              - editions-speciales
    title: Le Point Sciences

    icon: 📖

    options:
      delete: false
      changeTitle: false
      changeStatus: false
      changeSlug: false
      read:
        admin: true
        author: false
        author-science: true
        contributor: false
      delete:
        admin: true
        author: false
        author-science: true
        contributor: false
      update:
        admin: true
        author: false
        author-science: true
        contributor: false

    columns:
      - width: 1/1
        sections:
          drafts:
            extends: sections/lepointsciencesdraft
            headline: Brouillon
            status: draft

      - width: 1/1
        sections:
          unlisted:
            extends: sections/lepointsciencesunlisted
            headline: PrĂȘt pour relecture
            status: unlisted

      - width: 1/1
        sections:
          listed:
            extends: sections/lepointsciencespublished
            headline: Publié
            status: listed

      - width: 1/1
        fields:
          banniere:
            label: Logo Le Point de la Science
            type: files
            query: page.images
            multiple: false  
            width: 1/1

      - width: 1/1
        sections:
          info3:
            type: info
            headline: Partage réseaux sociaux
            text: |
              Gestion des contenus sur les réseaux sociaux

      - width: 1/2
        fields:
          bannierereseauxsociaux:
            label: BanniÚre pour les réseaux sociaux
            type: files
            query: page.images
            multiple: false
            width: 1/1

      - width: 1/2
        fields:
          textreseauxsociaux:
            label: Description pour les réseaux sociaux
            type: text

      - width: 1/1  
        sections:
          info:
            type: info
            headline: Banques images
            text: |
              Gestion des images
          extends: files/media

I change my blueprint and file name without dashs, but sometime i still have the error ‘xmlrpx’ already loaded


But the sections work now and the error message in console is gone?

There is a section key missing here, it seems? What are you trying to extend?

it’s the file media.yml in the folder files, then i show all the image of the page

type: files
headline: Images
template: image
info: "{{ file.dimensions }}"
min: 0
size: small

Yes, but the key for the section is missing, just putting extends: whatever doesn’t make sense


somesection:
  extends: files/media

ok, like that ?

  - width: 1/1  
    sections:
      infoo:
        type: info
        headline: Banques images
        text: |
          Gestion des images
      images:    
        extends: files/media

Yes.

BTW: You can use underscores or camelCase in field and section names to make your blueprints more readable.

Edit: Let us know if the error message still comes up after this change.

I have the exact same problem since 3.3.0 update.

“Module ‘xmlrpc’ already loaded” error message displayed in a lot of panel sections, disappearing sometimes when I reload the page, sometimes not


No changes in my blueprints, no dashes. I have sections with the same name in different blueprints, so I changed it to have unique sections names, but I still have the error message sometimes in my panel.

I’m a bit lost now, any idea? :thinking:

Interesting. Are you using any Panel plugins or any plugins? I can’t reproduce this error in a fresh 3.0.0 Starterkit.

Could you provide a blueprint (ideally without dependencies) to reproduce this in a Starterkit?

I’m using pagetable 1.0.5, editor 1.0.0, one custom site method and one plugin I coded. Since I updated pagetable and editor to the their last version, it seams to reduce errors, but it still happens.

It’s really strange beacause everything works fine 95% of the time, and sometimes, there is an error
 My client and I are sometimes logged with the same user account, can it be a source of conflicts or errors?

Here is for exemple my works.yml blueprint that use pagetable plugin:

title: Works
pages: true

columns:
  - width: 1/1
    sections:
      works:
        type: pagetable
        limit: 100
        template: work
        columns:
          title:
            label: Title
            text: '{{ page.title }}'
            type: text
            width: 1/4
            sortable: true
            searchable: true
          client:
            label: Client
            text: '{{ page.client }}'
            type: text
            width: 1/4
            sortable: true
            searchable: true
          date:
            label: Date
            text: '{{ page.date.toDate("Y") }}'
            dateInputFormat: 'YYYY'
            dateOutputFormat: 'YYYY'
            width: 1/8
            sortable: true
            searchable: true
          designers:
            label: Designer-s
            text: '{{ page.designers }}'
            width: 1/8
            sortable: true
            searchable: true
          work_field:
            label: Domaines
            text: '{{ page.work_field }}'
            width: 1/4
            sortable: true
            searchable: true
          categories:
            label: Categories
            text: '{{ page.category_print }} {{ page.category_identity }} {{ page.category_digital }} {{ page.category_signage }} {{ page.category_image }}'
            width: 1/4
            sortable: true
            searchable: true
          showcase:
            label: Showcase
            text: '{{ page.showcase }}'
            width: 1/8
            sortable: true
            searchable: true
          page_status:
            label: Status
            text: '{{ page.status }}'
            width: 1/8
            sortable: true
            searchable: true
      works_meta:
        type: fields
        fields:
          menu_title:
            label: titre de menu
            type:  text
            width: 1/2
          subtitle:
            label: sous-Titre
            type:  text
            width: 1/2
          text:
            label: Texte
            type:  textarea
            size:  small
          line:
            type: line
          categories_filter:
            label: Categories de filtre (front)
            type: checkboxes
            options: query
            query: site.index.pluck("categories", ",", true)
            columns: 2
            translate: false

Would be interesting to know if it also happens without the plugin.

I know it’s odd, but after trying to reproduce the bug, with or without pagetable plugin, I noticed that it happens each times I didn’t manipulate the panel for a while (like 5 mins) and then go to a different panel page.

Anyway, assuming that the error means what it says, have you checked your php.ini file if it loads the extension and check phpinfo() if that extension is already precompiled into PHP.

I’m not used to deal with this kind of files, but yes, it seams that is precompiled into the PHP Version 7.2.24 installed on the server.


44