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 165 Articles
Tommy White is a Graphic Designer, Web Designer / Developer, IT Director and more, including Foodie Fanatic. "I enjoy helping others in times of need and live steadfast to the motto of paying it forward".

Be the first to comment

Leave a Reply

Your email address will not be published.


*