Alex
Forum Replies Created
-
Awesome !
Thank you for your fast fix ??
Forum: Plugins
In reply to: [Contact Form 7] File Attachments from renamed folderA little bit more information :
uploads directory is a symlink in Bedrock
I could not find information about the function path_join() :
config-validator.php l560 |?$path = path_join( WP_CONTENT_DIR, $content );Perhaps the function does not resolve symbolic links ?
Forum: Plugins
In reply to: [Contact Form 7] File Attachments from renamed folderThank you for the precision
Bedrock declares :
/** @var string Directory containing all of the site’s files */
$root_dir = dirname(__DIR__);/** @var string Document Root */
$webroot_dir = $root_dir . ‘/web’;/**
* Custom Content Directory
*/
Config::define(‘CONTENT_DIR’, ‘/app’);
Config::define(‘WP_CONTENT_DIR’, $webroot_dir . Config::get(‘CONTENT_DIR’));
Config::define(‘WP_CONTENT_URL’, Config::get(‘WP_HOME’) . Config::get(‘CONTENT_DIR’));So if I understand properly app/uploads/2018/02/myfile.pdf should be the one
This returns :
“Attachment file does not exist at app/uploads/2018/02/myfile.pdf”
And it is the same response for absolute path /app/uploads/2018/02/myfile.pdf
Note : the file is present and publicly accessible at https://example.com/app/uploads/2018/02/myfile.pdf
Forum: Plugins
In reply to: [Async JavaScript] Get Home URL instead of Site ?exactly :
get_site_url() returns https://example.com/wp
get_home_url() returns https://example.comForum: Plugins
In reply to: [Async JavaScript] Get Home URL instead of Site ?Hi Frank,
Yes it is about the wizard whether I am not sure if it affects anything else.
with get_site_url I get my admin page being tested and changing it to get_home_url makes the plugin test the home page.Do you want me to try something else ?
Forum: Plugins
In reply to: [The GDPR Framework By Data443] error with WPML pluginHi,
I am getting a pretty similar error :
Warning: Invalid argument supplied for foreach() in /var/www/er-staging/htdocs/staging/wp-content/plugins/gdpr-framework/src/Modules/WPML/WPML.php on line 82
Do you need any extra info ?
Some extra info that could help eliminating from where could come the error :
php7.0-json is installed, version 7.0.31-1And here the probably useful wp debug log : https://pastebin.com/G7hcPXNe
Showing a new clue :
[24-Jul-2018 17:50:01 UTC] ERROR PostmanManageConfigurationAjaxHandler: Array