I tried to install this plugin and it worked, but when trying to activate it an error like this appears:
Warning: define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported in /home/abcdid/domains/ideacomindo.id/public_html/vibraniumcv/wp-content/plugins/wp-clone-template/main.php on line 10
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “install_wpct” not found or invalid function name in /home/abcdid/domains/ideacomindo.id/public_html/vibraniumcv/wp-includes/class-wp-hook.php:308 Stack trace: #0 /home/abcdid/domains/ideacomindo.id/public_html/vibraniumcv/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #1 /home/abcdid/domains/ideacomindo.id/public_html/vibraniumcv/wp-includes/plugin.php(517): WP_Hook->do_action() #2 /home/abcdid/domains/ideacomindo.id/public_html/vibraniumcv/wp-admin/plugins.php(194): do_action() #3 {main} thrown in?/home/abcdid/domains/ideacomindo.id/public_html/vibraniumcv/wp-includes/class-wp-hook.php?on line?308
What should I do?
This plugin throws error:Deprecated: define(): Declaration of case-insensitive constants is deprecated in /var/www/html/wp62/wp-content/plugins/wp-clone-template/main.php on line 10
wp-core
version: 6.2
site_language: en_US
user_language: en_US
timezone: +00:00
permalink: undefined
https_status: false
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: production
user_count: 1
dotorg_communication: true
wp-paths-sizes
wordpress_path: /var/www/html/wp62
wordpress_size: 93.15 MB (97678478 bytes)
uploads_path: /var/www/html/wp62/wp-content/uploads
uploads_size: 0.00 B (0 bytes)
themes_path: /var/www/html/wp62/wp-content/themes
themes_size: 16.26 MB (17050768 bytes)
plugins_path: /var/www/html/wp62/wp-content/plugins
plugins_size: 9.67 MB (10137117 bytes)
database_size: 2.70 MB (2834432 bytes)
total_size: 121.78 MB (127700795 bytes)
wp-active-theme
name: wpc (wpc)
version: 1.0.0
author:
author_website:
parent_theme: none
theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, block-templates, widgets-block-editor, wp-block-styles, editor-style
theme_path: /var/www/html/wp62/wp-content/themes/wpc
auto_update: Disabled
wp-themes-inactive (18)
Advanced-58 - FSE: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
Advanced-59 - FSE: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
Advanced-60 - FSE: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
Advanced-61 - FSE: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
Advanced-62 - FSE: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
Basic-58 - FSE: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
Basic-59 - FSE: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
Basic-60 - FSE: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
Basic-61 - FSE: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
Basic-62 - FSE: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
Empty-60 - FSE: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
Empty-61 - FSE: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
Empty-62 - FSE: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
No-Code-61 - FSE: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
No-Code-62 - FSE: version: 1.0.0, author: Carolina Nymark, Auto-updates disabled
Twenty Twenty-One: version: 1.8, author: the WordPress team, Auto-updates disabled
Twenty Twenty-Three: version: 1.1, author: the WordPress team, Auto-updates disabled
Twenty Twenty-Two: version: 1.4, author: the WordPress team, Auto-updates disabled
wp-plugins-active (1)
Zto SMS Admin: version: 1.0.0, author: J Sabarese, Auto-updates disabled
wp-plugins-inactive (1)
Export Themes: version: 2.12, author: Sergio Milardovich, Auto-updates disabled
wp-media
image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1691
imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
imagick_version: 3.4.4
file_uploads: File uploads is turned off
post_max_size: 20M
upload_max_filesize: 20M
max_effective_size: 20 MB
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 122 MB
imagick::RESOURCETYPE_DISK: 1073741824
imagick::RESOURCETYPE_FILE: 6144
imagick::RESOURCETYPE_MAP: 512 MB
imagick::RESOURCETYPE_MEMORY: 256 MB
imagick::RESOURCETYPE_THREAD: 1
imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: 2.3.0
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 9.53.3
wp-server
server_architecture: Linux 5.10.0-22-amd64 x86_64
httpd_software: Apache/2.4.56 (Debian)
php_version: 7.4.33 64bit
php_sapi: apache2handler
max_input_variables: 1000
time_limit: 30
memory_limit: 128M
admin_memory_limit: 256M
max_input_time: 60
upload_max_filesize: 20M
php_post_max_size: 20M
curl_version: 7.74.0 OpenSSL/1.1.1n
suhosin: false
imagick_availability: true
pretty_permalinks: true
wp-database
extension: mysqli
server_version: 10.5.19-MariaDB-0+deb11u2
client_version: mysqlnd 7.4.33
max_allowed_packet: 16777216
max_connections: 151
wp-constants
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /var/www/html/wp62/wp-content
WP_PLUGIN_DIR: /var/www/html/wp62/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: true
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: true
SCRIPT_DEBUG: false
WP_CACHE: true
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Undefined
DB_CHARSET: utf8mb4
DB_COLLATE: undefined
wp-filesystem
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
]]>
Hello,
I’m using wordpress on Windows 10 64 bit machine installed using XAMPP. WordPress version is 5.3.2. Plugin has installed and activated successfully. But when I’m trying to export theme, I’m getting error “Error : PCLZIP_ERR_MISSING_FILE (-4) : File ‘C:/Documents and Settings/All Users’ does not exist”
I searched for the error code and see the solutions of creating a temp folder in wp-content and changing the configuration. I have tried that and it is not helping me.
Could you please let me know if there is any fix or workaround for this ?
Thanks in advance.
]]>Hi,
I just installed the plugin. When I navigate to Appearance > Export I don’t see the list of Themes in the drop down.
Can I know if am missing something here?
Regards,
AG.
Currently the theme directory path is hardcoded as substr($_SERVER['SCRIPT_FILENAME'],0,-19).'wp-content/themes
on line 41 of main.php this should be updated for non-standard WordPress content directories.
One solution is to replace
$root = substr($_SERVER['SCRIPT_FILENAME'],0,-19).'wp-content/themes';
with
$root = get_theme_root();
You will also want to replace the root on line 83:
$template_root = substr($_SERVER['SCRIPT_FILENAME'],0,-19).'wp-content/themes/'.$template.'/';
with:
$template_root = get_theme_root() . '/' .$template.'/';
and on line 91
$make = $export->add($add, PCLZIP_OPT_REMOVE_PATH, substr($_SERVER['SCRIPT_FILENAME'],0,-19).'wp-content
with
$make = $export->add($add, PCLZIP_OPT_REMOVE_PATH, get_theme_root() );
I would also recommend using the built-in version of class pclzip found in wp-admin/includes/class-pclzip.php
Replace require_once WPCT_PATH.'lib/pclzip.lib.php';
with require_once '/includes/class-pclzip.php';
on 74. This will allow you to remove the included library.
There is also a typo on line 80 permissons
instead of permissions
Hope this helps!
]]>When I go to the export page. The selections list is empty, so I can’t select any theme to export.
]]>Olá pessoal.
Baixei o plugin wp-clone-template.2.0 pra eu conseguir exportar um site que fiz no wordpress no meu localhost, e conseguir importar depois para a hospedagem, porém ao tentar ir no menu APARENCIA > EXPORT que é a op??o que esse plugin me dá pra exportar, aparece o seguinte erro:
Alguem sabe como resolvo?
Segue printscreen:
]]>When running with WP_DEBUG set to true I can see a notice, Undefined index: wpct_buffer in /wp-clone-template/main.php on line 107
]]>Fatal error: Cannot redeclare rscandir() (previously declared in /var/www/vhosts/girasicilia.it/httpdocs/wp-content/plugins/codestyling-localization/codestyling-localization.php:303) in /var/www/vhosts/girasicilia.it/httpdocs/wp-content/plugins/wp-clone-template/main.php on line 64
]]>