Statpress Search Error Fix

statpress

I wanted to take a moment and inform other Statpress users how to fix the searching error

“Cannot load wp-statpress/statpress.php.”

The above error message kept appearing each time I executed the search function of Statpress. After some searching around the only suggestion I found was to rename the plugin directory and reactivate the plugin. I was afraid that might break more than just the search so instead I located and fixed the problem and here is the solution.

Around line 819 of statpress.php located in your plugins/statpress/ directory you will see the following line of code:

<input type=hidden name=page value=’wp-statpress/statpress.php’><input type=hidden name=statpress_action value=search>

Change it to

<input type=hidden name=page value=’statpress/statpress.php’><input type=hidden name=statpress_action value=search>

That’s it!

About Tommy White 143 Articles
Welcome! My Name is Tommy White and I do what it takes to get it done. I offer my services to anyone in need. I specialized in Graphic Design Management, Web Development, Promotion, and IT Services.

Be the first to comment

Leave a Reply

Your email address will not be published.


*