*

Rick

  • ***
  • 47 posts
admin error.
« on: April 26, 2023, 10:12:21 PM »
I get this error in admin > general.
Have try reupload all files, but dont help?


Fatal error: Uncaught Error: Call to undefined function osc_always_generate_canonical_enabled() in /home/hemsid13/public_html/oc-admin/themes/omega/settings/index.php:293 Stack trace: #0 /home/hemsid13/public_html/includes/osclass/helpers/hDefines.php(332): require() #1 /home/hemsid13/public_html/includes/osclass/core/AdminSecBaseModel.php(129): osc_current_admin_theme_path() #2 /home/hemsid13/public_html/oc-admin/controller/settings/main.php(221): AdminSecBaseModel->doView() #3 /home/hemsid13/public_html/oc-admin/settings.php(94): CAdminSettingsMain->doModel() #4 /home/hemsid13/public_html/oc-admin/index.php(141): CAdminSettings->doModel() #5 {main} thrown in /home/hemsid13/public_html/oc-admin/themes/omega/settings/index.php on line 293


Line 293:
 <input type="checkbox" <?php echo (osc_always_generate_canonical_enabled() ? 'checked="checked"' : ''); ?> name="always_gen_canonical" value="1" />
« Last Edit: April 26, 2023, 10:14:38 PM by Rick »

*

MB Themes

Re: admin error.
« Reply #1 on: April 27, 2023, 07:57:51 AM »
@Rick
Function is defined in oc-includes/osclass/helpers/hPreference.php, means you've upgraded just partially.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots