Jump to content

Recommended Posts

Posted

What is going wrong? I can't edit any page with this fieldtype anymore.

Error:     Call to a member function set() on a non-object (line 48 of /processwire/wire/modules/Fieldtype/FieldtypeURL.module)

Posted

What did you do?

That sound not like a problem we are aware of. What version of PW? Because the line isn't where this problem would appear.

It sounds more like your PW install is corrupt, missing files or whatever. Try putting in a new wire folder.

  • Like 1
Posted

It actually does sound like files are missing (or unreadable). If it's fixed again by replacing your /wire/ directory, then I would suspect your web host. Some web hosts run scripts nightly that go and look for files containing certain names or patterns which they assume to be problematic from a security standpoint. Unfortunately they far from perfect, and they flag files that have no problems at all. I believe this is because of filenames similar to WordPress filenames that have issues. For instance, Dreamhost apparently flags ProcessWire's /wire/core/Page.php, and they can't even figure out why. Once they flag it, they make the file unreadable, essentially breaking the installation. I've been in contact with one user that is having this problem with Dreamhost. This could be what's happening in your case, though with one of the /wire/modules/Fieldtype/ files (FieldtypeURL?). Check that all of those files have full read permissions. Also, check any Fieldtype modules you have in /site/modules/. 

  • 3 weeks later...

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
  • Recently Browsing   0 members

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