May 5, 2018 at 4:13 am #19994sanu baruahParticipant
I used patch WP Rocket by changing return false to true and it was working.
But this new version 3.0.4 is showing too many errors
<b>Fatal error</b>: Uncaught Error: Class ‘WP_Rocket\Admin\Options’ not found in /home/tricksco/public_html/wp-content/plugins/wp-rocket-master/inc/functions/options.php:18 Stack trace: #0 /home/tricksco/public_html/wp-content/plugins/wp-rocket-master/inc/functions/htaccess.php(543): get_rocket_option(‘cdn’, false) #1 /home/tricksco/public_html/wp-content/plugins/wp-rocket-master/inc/functions/htaccess.php(111): get_rocket_htaccess_web_fonts_access() #2 /home/tricksco/public_html/wp-content/plugins/wp-rocket-master/inc/functions/htaccess.php(42): get_rocket_htaccess_marker() #3 /home/tricksco/public_html/wp-content/plugins/wp-rocket-master/inc/main.php(198): flush_rocket_htaccess() #4 /home/tricksco/public_html/wp-includes/class-wp-hook.php(286): rocket_activation(”) #5 /home/tricksco/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #6 /home/tricksco/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #7 /home/tricksco/public_html/wp-admin/plugins.php(174): do_action(‘activate_wp- in <b>/home/tricksco/public_html/wp-content/plugins/wp-rocket-master/inc/functions/options.php</b> on line <b>18</b>
Please Provide some solutionMay 8, 2018 at 8:10 am #20001Durley PSParticipant
I have the same problem. Anybody???May 8, 2018 at 5:45 pm #20002Kama WilsonParticipant
I’m having the same problem:
Class ‘WP_Rocket\Admin\Options’ not found in /home/kissirc/public_html/wp-content/plugins/wp-rocket-master/inc/functions/options.php on line 18May 9, 2018 at 7:46 am #20003
you need to have composer, and do ‘composer install –no-dev’ in WP Rocket folder.May 12, 2018 at 6:26 pm #20014Till JobstvogtMember
I’m a new user and have the same problem
What do you mean with composer?
How can I do that?May 14, 2018 at 3:46 am #20015
Composer is a dependency manager for PHP. For install see https://getcomposer.org/doc/00-intro.md#installation-nixMay 14, 2018 at 5:41 am #20016
More easily, now you can download the vendor.zip file from [URL REMOVED BY ADMIN – SOURCE NOT LEGITIMATE] and unzip it to the wp-rocket folder. The folder contains all the dependencies that the composer should install.
PS. in the reply #20003 the command must be ‘composer install –-no-dev’ :(July 19, 2018 at 12:42 pm #20215Gerry MarcosParticipant
After reading these posts…Can you please clarify?
Can I just download the vendor.zip file and upload to the wp-rocket folder? If so from where do I download? The URL was removed in the previous comment.
If I do that, do I still need to use the command “composer install –-no-dev” on the server’s command line terminal?
Thanks for your help.July 23, 2018 at 11:24 pm #20228
Any solution for this , admin ?July 25, 2018 at 3:09 pm #20236
I’m sorry for the late answer; a longer journey …
Yes, it’s enough to unzip it to the root folder of the wp-rocket plugin.
That archive contains what the composer would place in that location.
I saw that link was deleted; for those who are in a hurry, now I created an Bitbucket snippet that contains that archive but I do not know how long the link will be tolerated here.
For those who do not trust or are curious, I explain how I can make it more concise.
If you can run composer on the server where wordpress is installed, just run ‘composer install –no-dev’ from the root folder of the plugin.
Otherwise, on another computer, even Windows, install composer, create a temporary folder where you copy the composer.json file found in the plugin, and then launch the same ‘composer install –no-dev’ command from that folder.
It will be enough to copy ALL the content of the vendor folder that will be created in the temporary folder to the plug-in root folder.July 25, 2018 at 11:24 pm #20238
@ Tomi, I must consider you’re genius . . Successfully done everything :)
July 29, 2018 at 4:58 pm #20253aman huiParticipant
- This reply was modified 1 year, 10 months ago by IamBidyuT.
great it activated, :-)September 20, 2018 at 2:11 pm #20392hans hansenParticipant
Does this still work? :DSeptember 22, 2018 at 10:19 am #20400
I just downloaded v3.1.4 from the repo, and i changed the code and also unzipped vendor folder to wprocket but its not working, anybody please help?September 23, 2018 at 2:44 am #20402
Anybody?September 23, 2018 at 3:21 am #20403Donald WamosParticipant
It is not related to WP Rocket, but it may help you to get 100/100 with free w3tc and autoptimize.
If it does not work for you and you to not want to buy WPRocket, try
https://dev.daanvandenbergh.com/how-to/pagespeed-pingdom-w3tc-autoptimize/September 23, 2018 at 3:28 am #20404
Do you need latest WP Rocket ? I have it .September 23, 2018 at 8:03 am #20405September 23, 2018 at 8:04 am #20406
Nope, I downloaded it directly from officials.September 23, 2018 at 8:06 am #20408September 23, 2018 at 11:36 am #20409eigil kjærulffParticipant
If you got it to work? How did you do it?
Make a tutorial, with every step. :D A lot of us is very curious!
Because some say the line you have to change in the function file is moved, and others says it isn’t.
Do we need to do it before we install the plugin or so?
Thank you in advance!September 24, 2018 at 4:32 am #20412ivo krtalicParticipantOctober 11, 2018 at 11:47 pm #20458JK FoongParticipant
Latest 3.1.4 with nulled patch and included vendor file. Just install the plugin would do
https://www.mediafire.com/file/3tasdww1y9pc0l0/wp-rocket-master.zip/fileOctober 12, 2018 at 4:27 am #20459February 24, 2019 at 11:20 am #21119Fred NexusParticipant
On Windows the command ‘composer install –no-dev’ doesn’t work for me.
Could not find package –no-dev.
March 16, 2019 at 7:23 pm #21203July 30, 2019 at 12:17 pm #21539Prosperity KennethParticipant
- This reply was modified 1 year, 3 months ago by Fred Nexus.
I am also having the same errors installing this plugin on my blog. I don’t know if anyone still has a working guide. I downloaded the plugin from GPLDL.August 21, 2019 at 3:46 pm #21592mh polasParticipant
As gpldl claim they do not modify plugin so how this error occur.
I downloaded latest 2019 upload plugin from here but now show fetal error.file not foundAugust 26, 2019 at 9:27 am #21596espartanoParticipant
Fatal error: Uncaught Error: Class ‘WP_Rocket\Admin\Options’ not found on the WP Rocket v3.3.6. Can’t install…September 25, 2019 at 5:41 am #21705
- You must be logged in to reply to this topic.