JosefStepanek
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
I had a similar error using ThemeREX Addons plugin. There is an incompatibility, I guess since WordPress 6.2. I managed to hot-fix it editing:
wp-content/plugins/trx_addons/components/api/gutenberg/blocks/dist/blocks.build.js:- Replaced all
wp.components.ServerSideRenderwithwp.serverSideRender - Replaced all
wp.editor.InspectorControlswithwp.blockEditor.InspectorControls
- This reply was modified 2 years, 8 months ago by JosefStepanek. Reason: Specified my case
- This reply was modified 2 years, 8 months ago by JosefStepanek.
Forum: Plugins
In reply to: [Twitter Widget Pro] Can't authorize twitter accountFrom error log:
Fatal error: Call to undefined function filter_var()Forum: Plugins
In reply to: [Twitter Widget Pro] Can't authorize twitter accountHi,
I just found a solution for that blank page after clicking on Authorize New Account.
There was a problem with the send_authed_request() in lib/wp-twitter.php.
If you comment the “if ( ! filter_var…” condition, as shown below, the authorization should pass ok.
public function send_authed_request( $request_url, $method, $body_parameters = array() ) { $parameters = $this->_get_request_defaults(); $parameters['body'] = wp_parse_args( $body_parameters, $parameters['body'] ); //if ( ! filter_var( $request_url , FILTER_VALIDATE_URL ) ) $request_url = self::get_api_endpoint( $request_url ); $this->sign_request( $parameters, $request_url ); - Replaced all
Viewing 3 replies - 1 through 3 (of 3 total)