Tagged: Gutenberg
-
AuthorPosts
-
April 29, 2019 at 11:25 pm #1095513
Hi, i looked for a place to report this other than on the support forum but didn;t see one. After installing a fresh WP (5.0.1 i think) and uploading then activating Enfold i got this error on all WP admin screens:
Fatal error: Can’t use function return value in write context in /home4/idreamdi/dh.idreamdigital.review/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php on line 31
I fixed it by editing this line:
$block_editor_supported = empty( avia_get_option( ‘block_editor_theme_support’, ” ) );
changed to:
$avia_temp = avia_get_option( ‘block_editor_theme_support’, ” );
$block_editor_supported = empty( $avia_temp );Just wanted to report this for the new version. Please let me know if/where i can download a new version if/when you make this change, or do i just grab a new DL from Evanto?
- This topic was modified 5 years, 6 months ago by Josh.
May 1, 2019 at 5:34 am #1096013Hey HostageMedia,
Thanks for reporting this, does the same thing happen if you run the latest version of WordPress? The files in Themeforest are always the latest version, currently 4.5.6.
Best regards,
RikardMay 1, 2019 at 4:53 pm #1096205Hey Rikard, i can confirm that this happened on the most recent update of WP. It was a fresh install and upon review, WP was at it’s current version. The theme was downloaded as a fresh purchase on Monday.
It happened twice in a row. Once installed all WP screens were blank/white and nothing was accessible from the front end until that change was made.
Hope this helps!
May 2, 2019 at 7:54 am #1096374Hi,
Thanks for the update. I don’t think this a general problem with the theme though, does the same thing happen if you enable the Classic Editor in the main page of the theme options?
Best regards,
RikardMay 2, 2019 at 6:26 pm #1096551I hadn’t yet enabled it when i installed the theme, but once i made that adjustment and everything was working i did, yeah.
That site is on Host Gator, not sure of PHP version and all that off hand but if you want more info just let me know. It happened two or three times in a row on fresh install but certainly possible there was a host DB issue that contributed. Once the adjustment was made it worked as normal.
I suppose if it happens on my next site i can reach back out too, if you’d like.
May 6, 2019 at 10:09 am #1097632Hi,
Thanks for the update and sorry for the late reply. I’ve talked to one of our developers and he says that they problem you are describing is fixed in the latest version of the theme (4.5.6), is that the version you were using? If so then it would be interesting for us to see the actual installation if you could provide us with access to it.
Best regards,
RikardMay 6, 2019 at 6:09 pm #1097771Hey Rikard, i’d happily do so however i’ve since reverted back to the previous version after i was having trouble getting demo data to propagate, after this issue. It should have updated to the latest version by now and no errors are occurring. If/when this happens again i will certainly give you guys an opportunity to review it live on my server.
May 7, 2019 at 8:45 am #1097992 -
AuthorPosts
- You must be logged in to reply to this topic.