Hi,
Apologies for the delay.
Please could you open your browser’s developer tools (CTRL+SHIFT+J or F12 in most browsers), then open the developer console tab?
Then, please repeat the optimisation attempt. Do you see errors appear in the developer console?
If so, please could you send us a copy of those messages?
Thread Starter
kledij
(@kledij)
{type: “warning”, message: “Creating default object from empty value”, file: “wp-content/plugins/wp-optimize/includes/class-wp-optimizer.php”, line: 318, stack: Array(7), …}
component: “Plugin: wp-optimize”
file: “wp-content/plugins/wp-optimize/includes/class-wp-optimizer.php”
line: 318
message: “Creating default object from empty value”
stack: (7) [“WP_Optimizer->get_table()”, “WP_Optimization_optimizetables->optimize()”, “WP_Optimizer->do_optimization()”, “WP_Optimization->do_optimization()”, “WP_Optimize_Commands->do_optimization()”, “WP_Optimize->wp_optimize_ajax_handler()”, “do_action(‘wp_ajax_wp_optimize_ajax’)”]
type: “warning”
__proto__: Object
Hi,
Please could you try updating to the latest version (2.2.9)?
Does this resolve the issue?
Thread Starter
kledij
(@kledij)
No, this does not fix problem.
I’m running php 7.2
Hi,
Apologies for the delay.
Are you using any caching plugins on the site?
If so, please could you try clearing all caches?
Thread Starter
kledij
(@kledij)
I’m only using autoptimize.
My site is on nginx + fastcgi cache.
clearing cache does not work.
Can you confirm what you have on line 318 of the mentioned file? The error message you’ve pasted doesn’t seem to correspond to the current release.
file: “wp-content/plugins/wp-optimize/includes/class-wp-optimizer.php”
line: 318
message: “Creating default object from empty value”
stack: (7) [“WP_Optimizer->get_table()”,
Thread Starter
kledij
(@kledij)
Can I send you my login details, so you can check yourself?
The ww.wp.xz.cn forum mods really dislike it if plugin owners say “yes” to that.
Thread Starter
kledij
(@kledij)
Ok, I understand. I updated to latest version, i do not get error message anymore, but the database is still not optimizing.
Hi,
If you have not already, please could you set up logging for WP-Optimize, then run a database optimisation?
Please could you then send us a copy of that log?
Thread Starter
kledij
(@kledij)
Hi,
I just updated to WP-Optimize 2.2.11 , the problem is fixed now.
Thanks!
Yes, we reproduced the issue and resolved it in 2.2.11. Thank you for confirming!
David