• Got some side-effects from my theme, but Eric looked into it and was a great help. Now after I use several extension, it is really close to being the perfect solution. Hope I will get the rest configured in the way like I need it.

    • This topic was modified 4 years, 9 months ago by terra3110.
    • This topic was modified 4 years, 9 months ago by terra3110.
    • This topic was modified 4 years, 9 months ago by terra3110.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @terra3110,

    Really sorry to hear you encountered problems with Charitable! Which themes did you have problems with? We have specifically designed Charitable to work alongside any theme, so we would love to fix whatever issues you encountered.

    Cheers,
    Eric

    Hey @terra3110,

    I appreciate you changing your rating, but would still love to help resolve the issue you had with themes if you can let me know which ones you encountered problems with. ??

    Cheers,
    Eric

    • This reply was modified 4 years, 9 months ago by Eric Daams.
    Thread Starter terra3110

    (@terra3110)

    Hi,

    The Problem seems to me, is that I receive errors like:

    [Tue Jun 16 09:00:11.483441 2020] [:error] [pid 20494] [client 202.74.197.78:55749] PHP Fatal error: Call to undefined function get_custom_campaign_meta_fields() in /home/www/htdocs/f3/wp-content/themes/pet-rescue/framework/admin/options/cmsms-theme-options.php on line 117, referer: https://www.forgottenfelines.org.nz/wp-admin/admin.php?page=charitable

    or

    [Tue Jun 16 10:51:23.742615 2020] [:error] [pid 22907] [client 202.74.197.78:58446] PHP Fatal error: Call to undefined function get_custom_donation_meta_fields() in /home/www/htdocs/f3/wp-content/themes/pet-rescue/framework/admin/options/cmsms-theme-options.php on line 126, referer: https://www.forgottenfelines.org.nz/wp-admin/post.php?post=5746&action=edit&show_form=1
    I got this with different Charitable Plugins and several kinds of errors.

    I added in /home/www/htdocs/f3/wp-content/themes/pet-rescue/framework/admin/options/cmsms-theme-options.php

    than the following lines:

    require_once(CMSMS_OPTIONS . ‘/cmsms-theme-options-campaign.php’);
    require_once(CMSMS_OPTIONS . ‘/cmsms-theme-options-donation.php’);

    to solve the problem.

    Some like this one I was not able to solve:

    [Tue Jun 16 09:45:21.699026 2020] [:error] [pid 22905] [client 202.74.197.78:56881] PHP Fatal error: Call to undefined function cmsms_divpdel() in /home/www/htdocs/f3/wp-content/plugins/cmsms-content-composer/inc/shortcodes.php on line 230, referer: https://www.forgottenfelines.org.nz/wp-admin/customize.php?theme=reach&return=http%3A%2F%2Fwww.forgottenfelines.org.nz%2Fwp-admin%2Fthemes.php

    Frank

    Hi Frank,

    These errors all seem to be stemming from your theme, or the plugins connected to your theme (i.e. CMSMasters Content Composer). Looking at the first error you mentioned, I see in that cmsms-theme-options.php file towards the top it has this:

    
    if (class_exists('Cmsms_Donations')) {
    	require_once(CMSMS_OPTIONS . '/cmsms-theme-options-campaign.php');
    	require_once(CMSMS_OPTIONS . '/cmsms-theme-options-donation.php');
    }
    

    It looks to me like there may be some kind of CMSMasters Donations plugin that the theme is specifically built to work with. It looks like their plugin also registers a campaign and a donation post type, just like Charitable does, and because of the overlap, their theme is loading custom functionality that should only be loaded when their plugin is active. It isn’t active, but Charitable has the same post types, so their theme then tries to use those functions which don’t exist.

    Unfortunately, from our end there is nothing we can do about this, since the theme is calling these functions without Charitable knowing anything about it. ??

    It’s good you were able to resolve the issue in terms of getting rid of the errors. Hopefully that will fix it, but there may be some weird side-effects from the theme expecting its plugin to be working — I’m not familiar enough with the theme to be able to say for sure.

    Cheers,
    Eric

    Thread Starter terra3110

    (@terra3110)

    Hi,

    Many thanks. What I can do, to prevent or lower the risk of side-effect? I contacted the Theme Developer, but did not expect a response.
    Is there not a risk, that now charitable plugin now call the wrong methods, because there are loaded and has the same name?

    Cheers

    Frank

    Hi Frank,

    I would suggest using a child theme. This will at least allow you to override the templates that the theme adds, which will give you a simple way to fix any problems caused by the clash here.

    That does still leave the possibility of errors in the admin side of things; it may be possible to work around some or all of those, but would need to be fixed on a case by case basis. Again, the child theme could be helpful here, because you could add any functions that the theme is expecting to exist in the child theme’s functions.php file.

    If you run into any issue with the theme/plugin incompatibility issue, you can always reach us in support. ??

    Cheers,
    Eric

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Works great, better than donorbox’ is closed to new replies.