Forum breadcrumbs – You are here:Asgaros Support ForumAdd-OnsFrontend Utilities Addon
Please or Register to create posts and topics.

Frontend Utilities Addon

PreviousPage 8 of 8

Same problem since last updates went through.

Thomas

Hello @bricktram @wentho9

Can you share the detailed error so I can have a look into it?

HorstClaude has reacted to this post.
HorstClaude
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Hi everybody,

I also have the same problem.

When using the “Frontend Utilities Addon” (v1.1.1) in combination with Asgaros 2.7.0 or upwards a critical error crashes the whole website.

With the error message: “There has been a critical error on this website.” When reverting to Asgaros 2.6.0 (or disabling Frontend Utilities) the website works again.

I would love to update Asgaros, but currently am unable to and have to rollback to 2.6.0.

BR,

David

Uploaded files:
  • critical.png

Hello @horstclaude

Is it possible for you to share a PHP error log?

HorstClaude has reacted to this post.
HorstClaude
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Hi @asgaros,

thanks for the reply. I have managed to get a php stack trace, see below:

 

[07-Dec-2023 15:22:26 UTC] PHP Fatal error: Uncaught Error: Call to undefined method AsgarosForumAppearance::get_current_theme_url() in /www/htdocs/sf44417/websites/mysite/wp-content/plugins/quenso-asgaros-forum-frontend-utilities/asgaros-forum-frontend-utilities.php:150
Stack trace:
#0 /www/htdocs/sf44417/websites/mysite/wp-includes/class-wp-hook.php(324): AFFrontUtils->enqueue_scripts(”)
#1 /www/htdocs/sf44417/websites/mysite/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#2 /www/htdocs/sf44417/websites/mysite/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /www/htdocs/sf44417/websites/mysite/wp-includes/script-loader.php(2262): do_action(‘wp_enqueue_scri…’)
#4 /www/htdocs/sf44417/websites/mysite/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts(”)
#5 /www/htdocs/sf44417/websites/mysite/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#6 /www/htdocs/sf44417/websites/mysite/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#7 /www/htdocs/sf44417/websites/mysite/wp-include in /www/htdocs/w01b4a17/websites/mysite/wp-content/plugins/quenso-asgaros-forum-frontend-utilities/asgaros-forum-frontend-utilities.php on line 150

 

this issue seems to be related to this part from within the quenso_frontend_addon:

 

// Get Asgaros Forum custom CSS
$custom_css_file=self::$asgarosforum->plugin_path.’skin/custom.css’;
if(file_exists($custom_css_file)) {
wp_enqueue_style(‘af-front-utils-af-custom-css’, self::$asgarosforum->appearance->get_current_theme_url().’/custom.css’, array(), self::PLUGIN_VERSION);
}
}

 

I hope that this info can be helpful for you.

I really appreciate all the work you have put into Asgaros Forum. Its a great plugin!

Cheers,

David

wentho9 has reacted to this post.
wentho9

Hi all,

just FYI, might be useful. I could solve this issue by simply commenting out these lines:

// Get Asgaros Forum custom CSS
$custom_css_file=self::$asgarosforum->plugin_path.’skin/custom.css’;
if(file_exists($custom_css_file)) {
wp_enqueue_style(‘af-front-utils-af-custom-css’, self::$asgarosforum->appearance->get_current_theme_url().’/custom.css’, array(), self::PLUGIN_VERSION);
}
}
in the file:
/wp-include in /www/htdocs/w01b4a17/websites/mysite/wp-content/plugins/quenso-asgaros-forum-frontend-utilities/asgaros-forum-frontend-utilities.php on line 150
I can now update to the latest asgaros plugin and use it with the frontend utilities addon. Commenting out might cause some issues, as the custom css from the frontend plugin is not passed on, but in my case its just a single line thats not affecting the utilities addon.
Cheers,
David
k3x has reacted to this post.
k3x

Good morning
I just tested the BETA version “quenso-asgaros-forum-frontend-utilities-1.2.0-BETA.v2.1.zip” and when I click on “edit profile” nothing happens at all… No reaction, no popin…

Here

Uploaded files:
  • Capture-decran-2024-03-04-a-19.07.49.png
PreviousPage 8 of 8