Comments (8)
Hi @MarkHollo,
thanks for opening this issue!
Now, I don't think that there's anything that I can do about this, I'm afraid, as this seems to be an issue with either that EDD Migration plugin or with the Freemius SDK.
In both cases, code changes or fixed would have to be done by Freemius.
I would therefore suggest that you get in touch with Freemius about this. From what I can see, an easy fix could be to wrap those functions in a function_exists()
call in that EDD migration plugin (maybe that's even something that you could try yourself?).
Best wishes,
Tobias
from tablepress.
@Freemius @vovafeldman Can you maybe take a look?
from tablepress.
Hi @TobiasBg! Thanks for responding.
I did raise that issue with them, in April actually. Since there have been no changes, I was thinking that there might be something you guys could do faster because it's affecting your integration because this wasn't a problem until this year. I can wrap things up in function_exists but not sure this is a permanent solution for everyone
from tablepress.
Hi @MarkHollo,
oh, ok. Yes, it appears that their EDD migration plugin is only updated once in a while. :-(
I'm not sure what I can do here, to be honest. Even if I knew what to change, I don't really want to make code changes in the Freemius SDK that ships with TablePress, as that would just introduce another maintenance burden, whenever they release a new SDK version.
I believe the cause of the issue is the EDD migration plugin here. So, I think the function_exists()
in your copy of the EDD migration plugin would be the safest (and easiest) starting point here. Maybe you can then even open a Pull Request with these changes, so that they'll eventually benefit all users of that migration plugin.
Best wishes,
Tobias
P.S.: You are probably only seeing this with TablePress this year, because I only started using the Freemius SDK in TablePress 2.0, which was released in late December of last year.
from tablepress.
Hi @TobiasBg, we need that plugin as you need the function, and there are slightly different codes, so not sure this is the right solution.
On the other hand, it will be a problem when using any plugin that using the same function as yours, so not sure where the solution should be implemented but we can agree this needs a solution
from tablepress.
Hi @MarkHollo,
well, right now, both that EDD migration plugin and plugins that use the Freemius SDK (like TablePress) seem to load that fs_find_caller_plugin_file()
function. Even though they look slightly different, I think they still do the same. Thus, I think it's fine for the EDD migration plugin to also use the function from the SDK here.
To guarantee that, a function_exists()
wrapper around the definition in that file (or just commenting out the definition) should work fine. From what I can see, function_exists()
is wrapped around several other functions in that file as well, maybe it missing for fs_find_caller_plugin_file()
is just an oversight.
As that function and file are Freemius files that I can not directly change, there's really nothing that I can do about this in TablePress.
Best wishes,
Tobias
from tablepress.
@MarkHollo @TobiasBg I reviewed the method, and the one in the EDD is simply an outdated version. Both intended to do the same thing. One needs to be updated.
I pushed a fix to the EDD migration develop
branch: Freemius/edd-migration@2178829
And we'll wrap the method in the SDK (probably on the next release, not the upcoming one). But you can patch those on your WP setup, and it should work just fine.
from tablepress.
Hi @vovafeldman,
thanks for taking a look here! Thanks for confirming my assumption!
@MarkHollo, I think using the version from the develop
branch should indeed be the best solution here then.
As there's nothing really left here for TablePress to do, I'll go ahead and close this issue. Feel free to continue adding any findings, of course!
Best wishes,
Tobias
from tablepress.
Related Issues (20)
- Question: posibility to get table information from a json REST api, instead of importing? HOT 4
- Can't save Auto Import Tables config HOT 1
- Function WP_Block_Type_Registry::register was called incorrectly HOT 2
- tablepress_rest_api:missing_capability:tablepress_edit_table HOT 7
- Help with translation HOT 3
- Freemius integration is doing heavy damage to wp_sitemeta meta_key fs_accounts HOT 5
- aria-role="link" in previous/next-buttons is redundant HOT 4
- check if file exists before attempting to unlink HOT 2
- Freemius Performance issue after upgrading to 2.1.5 HOT 3
- Error: Function is_search was called incorrectly... HOT 4
- Change Default Table Features for Site Visitors HOT 1
- No obvious way to disable/revert inline CSS loading HOT 1
- Resolve PHPStan issues HOT 12
- Oops! That page canβt be found. HOT 3
- Question: Accent neutralise HOT 1
- Tablepress text gets white when add links HOT 5
- TablePress CSS Loads even without a Table on page HOT 2
- Deprecation error from Freemius HOT 5
- TablePress and Elementor conflict after recent updates, preventing Elementor editor to load HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tablepress.