• Resolved rvance

    (@rvance)


    Fatal error: Class ‘W3_ConfigWriter’ not found in /home/meridianhm/public_html/wp-content/plugins/a2-optimized-wp/A2_Optimized_OptionsManager.php on line 324

    Looking in the code

            $config_writer = new W3_ConfigWriter(0, false);
            foreach ($vars as $name => $val) {
                $config_writer->set($name, $val);
            }
            $config_writer->set('common.instance_id', mt_rand());
            $config_writer->save();
            $this->refresh_w3tc();

    It seems to be trying to create a new object from W3_ConfigWriter(). What am I missing?

Viewing 1 replies (of 1 total)
  • The error message is due to a class in W3 Total Cache that was removed on the last update. Basically, W3 Edge removed part of their plugin that allowed A2 Optimized to write the modified changes, so it broke the link between A2 Optimized and W3 Total Cache.

    To get this functionality back, you’ll need to use W3 Total Cache (Fixed), the forked version of W3 Total Cache, since it continues to use the W3_ConfigWriter class.

    • This reply was modified 8 years, 1 month ago by Asheboro.
Viewing 1 replies (of 1 total)
  • The topic ‘I get a fatal error’ is closed to new replies.