Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: undefined method `cells' for #<Array:0x000000029cc2f8> #841

Closed
mytc opened this issue Jul 2, 2015 · 11 comments
Closed

error: undefined method `cells' for #<Array:0x000000029cc2f8> #841

mytc opened this issue Jul 2, 2015 · 11 comments

Comments

@mytc
Copy link

mytc commented Jul 2, 2015

When I try enumerate or brute force, I received this error

undefined method `cells' for #<Array:0x000000029cc2f8>

Tried this on Majaro Arch and Centos 7.

@whoknowwhat
Copy link

Linux 3.10.0-123.4.4.el7.x86_64 #1 SMP Fri Jul 25 05:07:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
ruby 2.0.0p598 (2014-11-13) [x86_64-linux]
CentOS 7
WPScan Current version: 2.8
Last DB update: 2015-07-02

I got same message too.

@ethicalhack3r
Copy link
Contributor

Reproduced, problem seems to be terminal-table version 1.5.2. I will check to see if we can use an older version.

@erwanlr
Copy link
Member

erwanlr commented Jul 2, 2015

use gem 'terminal-table', '~>1.4.5' in the Gemfile then ^^

ethicalhack3r added a commit that referenced this issue Jul 2, 2015
@ethicalhack3r
Copy link
Contributor

Temporary fix is:

gem uninstall terminal-table
git pull
bundle install

@firefart
Copy link
Contributor

firefart commented Jul 2, 2015

We could also include our Gemfile.lock in the repo so the gem versions will always be the ones we are working with

@mytc
Copy link
Author

mytc commented Jul 2, 2015

temporary fix by @ethicalhack3r works.

@erwanlr erwanlr closed this as completed Jul 11, 2015
@floweeb
Copy link

floweeb commented Jul 24, 2015

Still getting this error "undefined method `cells' for #Array:0x00000004a41c40"
screenshot

@ethicalhack3r
Copy link
Contributor

What version of WPScan are you running? What version of the terminal-table gem?

@floweeb
Copy link

floweeb commented Jul 24, 2015

WPScanis=2.8 terminal-table=1.5.2
screenshot

@ethicalhack3r
Copy link
Contributor

Have you tried the temporary fix I mentioned above?

@ght3mpor4l
Copy link

hello all, perhaps the post is old. But I share what I did to solve the problem the message undefined method `cells' for # <Array: in wpscan.
1 - terminal-table gem uninstall
2 - Download the version 1.4.5 of terminal-table from page https://rubygems.org/gems/terminal-table/versions/1.4.5
3 - Install the file with the following command gem install terminal-table-1.4.5.gem.
4 - Enjoy. Greeting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants