Jump to content
Tyssen

Class 'WireData' not found

Recommended Posts

I've been working on a site locally and wanted to upload some changes to a staging site but after exporting the site's database and reimporting to the staging site and uploading the changed files, I can no longer access either the front or back end of the site. Instead I get:

Quote

Class 'WireData' not found (line 10 of /site/modules/MarkupSEO/MarkupSEO.module) 

I've tried deleting the contents of site/assets/FileCompiler but that didn't help.

What else do I need to do to get the site back?

Share this post


Link to post
Share on other sites

@Tyssen you could try to add <?php namespace ProcessWire on the top of the module file.

  • Like 1

Share this post


Link to post
Share on other sites

@flydev I still get the same error. I should also mention that this staging site was working fine until the latest changes.

Share this post


Link to post
Share on other sites

Try renaming the MarkupSEO module to .MarkupSEO so you can at least access the site again while you troubleshoot it. What version of processwire are you running?

Share this post


Link to post
Share on other sites

@gmclelland Must've been something wrong with the export of the db from my local. I renamed MarkupSEO and then it threw the same error for FormBuilder. Renamed it too and then the admin page came up but using the default theme and it was reporting that modules had been downgraded to earlier versions.

Ran another export/import and it's all fine now. 😕

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...