Jump to content

Class "._InputfieldDatetimeText" not found in InputfieldDatetime.module after PW update


Recommended Posts

I just upgraded a 3.0.210 version PW website to the latest master (3.0.229). I renamed the old wire folder, replaced it with the 229 version, and went into the admin panel. After a few update messages and refreshes, all seemed fine. Pages are loading properly and can be edited as usual. However whenever I now try to view any log or message under setup, and also certain fields, I'm getting the following error:

Fatal Error: Uncaught Error: Class "._InputfieldDatetimeText" not found in wire/modules/Inputfield/InputfieldDatetime/InputfieldDatetime.module:216

image.thumb.png.65cb4474b772fa507dc5336d7c097e36.png

I'm not sure what's wrong here, the ._InputfieldDatetimeText file seems to be present. Is this a bug?

 

Link to comment
Share on other sites

Check the files in the folder at: /wire/modules/Inputfield/InputfieldDatetime/types/

It sounds like might you have a file named "._InputfieldDatetimeText.php" in there. That file should not exist. There should only be the three files shown here

2024-06-15_101540.jpg.f0f59067017d108ef98d04c5143f2c61.jpg

  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...
On 6/15/2024 at 12:18 AM, Robin S said:

Check the files in the folder at: /wire/modules/Inputfield/InputfieldDatetime/types/

It sounds like might you have a file named "._InputfieldDatetimeText.php" in there. That file should not exist. There should only be the three files shown here

2024-06-15_101540.jpg.f0f59067017d108ef98d04c5143f2c61.jpg

Sorry for the late reply @Robin S, I was on holiday. I just downloaded a fresh copy of the latest master (3.0.229) and checked for the underscored files, which aren't there. Then upgrading the website worked fine! I have no clue as to how those underscored files got there, but thank you anyway!

  • Like 1
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

×
×
  • Create New...