Jump to content

Error: Exception: Method FieldtypeImage::getFieldsTemplate does not exist or is not callable in this context (in <u>wire/core/Wire.php</u> line 564)<br />


bubu2110
 Share

Recommended Posts

Hey guys,

I need your help with the following problem.

After updating to the latest processwire version I get the following error message

Fehler: 	Exception: Method FieldtypeImage::getFieldsTemplate does not exist or is not callable in this context (in <u>wire/core/Wire.php</u> line 564)<br />

The server is running Apache with PHP 8.x

I also get this error-message in the backend.

I hope you can give me any kind of advice to get the website back to work.

Thanks in advance.

Mats

 

 

Link to comment
Share on other sites

On 2/8/2022 at 3:20 AM, Gideon So said:

Hi @bubu2110,

Can you post the related code here?

Gideon

The first error appears at this line of code:

globale-einstellungen is a page that has a lot of fields for colors, image urls and so on.

<img src="<?= $pages->get("/globale-einstellungen/")->arch->url.$pages->get("/globale-einstellungen/")->arch->first ?>" class="arch" />

In the backend at the page "globale-einstellungen" I have the same problem ?

grafik.png.98ff9e978ed13f7feae6871cfb09e29c.png

Thank you for your help!!

Mats

Link to comment
Share on other sites

Hey Gideon,
thank you for you help. It is no problem with my code. The problem was, that I tried to do a quick and dirty update and just had overwritten the files in /wire/ instread of cleaning the folder before. Now everything works find with PHP 8.x

Thank you!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...